|This article or section documents a feature not included in the current version of Scratch (2.0). It is only useful from a historical perspective.|
- This article or section documents an outdated version of Scratch (version 1.4). For this article in the current version, see Scratch File Format (2.0).
Scratch needs to save all the information and media - stage, sprites, scripts, sounds, images - in a Scratch project or script to a single file. This means the format for encoding that information is rather complicated.
Other than using Scratch program or modifications of Scratch's source code, there are the following libraries for reading/writing Scratch project files:
- Kurt, written in Python. Supports scripts, variables, lists, colors. Can read all the scripts in a project file and output Block Plugin code. Supports images (nearly!) but not sounds.
- Inspecting the Scratch source in the Squeak browser
- Decompiling the Java Player source
- Official format documentation — rather outdated
Scratch File Format (1.4)