Scratch 2.0 File Format

From Just Solve the File Format Problem
Revision as of 04:58, 22 January 2013 by Dan Tobias (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
File Format
Name Scratch 2.0 File Format
Ontology
Extension(s) .sb2

The Scratch 2.0 File Format saves projects in version 2.0 of the Scratch programming language (a version that is still unreleased as of this writing, so this is based on pre-release documentation which could change). Scratch is a language designed to teach programming to young children. Since the program code consists of graphical tiles rather than text-based source code, a binary format was used for the earlier Scratch 1.4 File Format, but the format has changed with 2.0.

Scratch projects are stored in files with a .sb2 extension. The contents are ZIP-compressed data, including various items which are part of the project (.png, .svg, and .wav files, named with numbers). The main item is a file called project.json, in JSON format.

Detailed documentation can be found in the Scratch wiki.

Documentation

Other links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox