Free online SB2 to TXT converter
Extract Scratch 2 project data from an SB2 archive into a TXT file.
Convert SB2 to TXT online - free
Your file is processed instantly and deleted as soon as you download it.
Import a file from a URL
Paste a direct link to the file. We download it to our server and it is converted exactly like an upload.
How it works
-
1/3
Upload your .sb2 file
Click to browse to select your file you want to convert or simply drag & drop your file into selected area.
-
2/3
Perform .sb2 to .txt conversion
After successful file upload, click to convert when you are ready.
-
3/3
Download converted .txt file
Conversion result is ready to download.
How to convert sb2 to txt file
- Programming
- No ratings yet.
101convert.com assistant
40m
Scratch 2 projects are stored as SB2 files, but a workflow that accepts only plain files may need their project data in TXT form for inspection, sharing, or archiving. Converting the file exposes its project JSON; it does not turn Scratch blocks into prose or preserve playable behavior in a standalone TXT file.
What the SB2 format is
SB2 is the project format used by Scratch 2, the block-based programming environment. Scratch 2’s editor creates SB2 projects when they are saved or downloaded. An SB2 file is a ZIP archive containing project.json and any project assets, such as images and sounds.
What the TXT format is
TXT is a plain-text file format that can be opened in basic text editors, searched, compared, and stored without a specialized programming application. It is useful when you need to inspect or archive the data inside an SB2 project, but TXT does not define Scratch scripts or package their assets.
How to convert SB2 to TXT
Online on 101convert.com
- Open the SB2-to-TXT converter page on 101convert.com and upload the SB2 file.
- Choose TXT as the output format and start the conversion.
- Download the converted file. The page supports batch conversion; check its displayed per-file size limit before uploading.
Offline with desktop software
With Python 3 installed on Windows, macOS, or Linux, extract the project data directly from the SB2 archive and save it with a TXT extension. In a terminal, run this command in the folder containing the project:
python -c "import zipfile; z=zipfile.ZipFile('project.sb2'); open('project.txt','wb').write(z.read('project.json'))"
Replace project.sb2 with the input filename and project.txt with the desired output filename. On systems where Python is invoked as python3, use that command name instead.
Quality and limitations
The extracted TXT file contains JSON data, including Scratch project and script definitions; it is not a readable, line-by-line transcript of the visual blocks. The project’s image and sound assets are not included in that TXT output, and changing the extension does not make the file runnable as a Scratch project. Keep the original SB2 file if you need to reopen or run the complete project.
Note: This sb2 to txt conversion record is incomplete, must be verified, and may contain inaccuracies. Please vote below whether you found this information helpful or not.
SB2 vs TXT: format comparison
How the SB2 and TXT formats compare on the properties that matter most for this conversion.
| Property | .SB2 Scratch 2.0 Project File | .TXT Plain Text File |
|---|---|---|
| Open standard | No | Yes |
| Compression | Both | Uncompressed |
| Typical file size | Small | Very small |
| Opens in a web browser | No | Yes, natively |
| Further editing | Easy | Easy |
| Metadata support | Basic | None |
| Plain-text readable | No | Yes |
| Best used for | Embedding in applications | Data exchange |
| Introduced | 2013 | — |
| Developer | MIT Media Lab Lifelong Kindergarten Group / Scratch Team | — |
| MIME type | — | text/plain |
Information about file extensions and file types is provided by File-Extensions.org
Frequently asked questions
Is the SB2 to TXT converter free?
Yes, converting SB2 to TXT 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 TXT?
No. The SB2 to TXT 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 TXT 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.