Skip to content

Free online SB2 to PDF converter

Create a printable PDF record of Scratch 2 project data from an SB2 file.

SB2 to PDF

This online conversion is temporarily unavailable. We are working on restoring it.

How to convert sb2 to pdf file

101convert.com assistant

101convert.com assistant
5m

Scratch projects are often saved as SB2 files, but people may need a PDF to print project data or share a viewable record with someone who does not use Scratch. A PDF can document the project, but it cannot preserve its interactive behavior.

What the SB2 format is

SB2 is the project format used by Scratch 2.0, the block-based programming environment. An SB2 file is a ZIP archive that typically contains project.json with the project’s sprites, scripts, and stage data, plus any image and sound assets. You encounter it when opening or archiving projects made with Scratch 2.

What the PDF format is

PDF is a document format for sharing and printing paginated content across devices. It is useful for a fixed, viewable record of project information, but it does not run Scratch scripts or retain editable Scratch blocks.

How to convert an SB2 file to PDF

Online on 101convert.com

  1. Open the SB2-to-PDF converter page on 101convert.com and upload the SB2 file.
  2. Choose PDF as the output format and start the conversion.
  3. Download the converted PDF when it is ready. The page supports batch conversion; check its displayed per-file size limit before uploading.

Offline with desktop software

Python and the open-source ReportLab library can make a PDF listing of an SB2 project’s JSON data. This creates a text report, not a visual rendering of Scratch blocks, and does not include the project’s image or sound assets.

  1. Install Python and ReportLab, then save the script below as sb2_to_pdf.py in the same folder as project.sb2.
  2. Run python -m pip install reportlab, followed by python sb2_to_pdf.py. The script writes project.pdf.
import json
import textwrap
import zipfile
from reportlab.lib.pagesizes import A4
from reportlab.lib.styles import ParagraphStyle
from reportlab.platypus import SimpleDocTemplate, Preformatted

with zipfile.ZipFile("project.sb2") as archive:
    project = json.loads(archive.read("project.json"))

text = json.dumps(project, ensure_ascii=False, indent=2)
lines = []
for line in text.splitlines():
    lines.extend(textwrap.wrap(
        line, width=100, subsequent_indent="  ",
        break_long_words=True, break_on_hyphens=False
    ) or [""])

style = ParagraphStyle(
    "json", fontName="Courier", fontSize=7, leading=8.5
)
document = SimpleDocTemplate("project.pdf", pagesize=A4)
document.build([Preformatted("\n".join(lines), style)])

Quality and limitations

A PDF report of the JSON is searchable text, but its contents are raw project data rather than Scratch’s graphical block layout. To preserve an editable project, keep the original SB2 file; the PDF is only a document representation.


Note: This sb2 to pdf conversion record is incomplete, must be verified, and may contain inaccuracies. Please vote below whether you found this information helpful or not.

Was this information helpful?

SB2 vs PDF: format comparison

How the SB2 and PDF formats compare on the properties that matter most for this conversion.

Comparison of the SB2 and PDF file formats
Property .SB2 Scratch 2.0 Project File .PDF Portable Document Format
Open standard No Yes
Compression Both Both
Typical file size Small Medium
Opens in a web browser No Yes, natively
Further editing Easy Limited
Metadata support Basic Extensive
Plain-text readable No No
Best used for Embedding in applications Publishing
Introduced 2013 1993
Developer MIT Media Lab Lifelong Kindergarten Group / Scratch Team Adobe Systems (now Adobe Inc.); standardized by ISO
MIME type — application/pdf

Information about file extensions and file types is provided by File-Extensions.org

Frequently asked questions

Is the SB2 to PDF converter free?

Yes, converting SB2 to PDF on 101convert.com is completely free. No registration, email address or installation is required. If you need a higher file size limit or want to convert more files at once, see our plans.

How large can my SB2 file be?

You can upload SB2 files up to 3 MB and convert up to 3 files at once in a single batch. With a paid plan the limit is up to 50 MB per file and 5 files at once, see our plans.

What happens to my uploaded files?

Files are processed automatically and deleted from our servers within a few minutes after conversion. We never view or share your files.

Do I need to install any software to convert SB2 to PDF?

No. The SB2 to PDF conversion runs entirely online in your browser and works on Windows, Mac, Linux, Android and iPhone.

Did the conversion fail?

In most cases, the cause is an incorrect file format. Please upload a valid SB2 file for this SB2 to PDF conversion. Occasionally, the issue may be on our side. We analyze recurring conversion failures and disable or fix the converter if we detect a defect.

Additional formats for
sb2 file conversion

Convert to pdf from
other formats

Share on social media:

Already downloaded

This file has already been downloaded. For your privacy it was deleted from our server right after the download, so it cannot be downloaded again. To get it once more, convert the file again.