.SCRATCH

SCRATCH File

Scratch project file
Ask a question
QUICK ANSWER

A file labeled ".scratch" almost certainly comes from an unrelated app's temp buffer, not MIT Scratch. Real Scratch projects use .sb3 (Scratch 3.0), .sb2 (2.0), or .sb (1.x). Open any of them free at scratch.mit.edu (File > Load from your computer) or in the offline Scratch Desktop app -- no account needed.

Developer: MIT (Scratch Foundation / MIT Media Lab Lifelong Kindergarten group) Category: Developer Files Open standard MIME: application/x.scratch.sb3
OPENS ON Windows macOS Linux Web
Related: .DO · .MD · .HEX · .XSD

On this page

19k+ extensions indexed
Last reviewed Aug 24, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the SCRATCH file format?

A .scratch file stores a project created with the Scratch programming language, developed at MIT (Massachusetts Institute of Technology). Unlike the plain-text description sometimes cited, Scratch project files are packaged archives: the modern .sb2 and .sb3 formats are standard ZIP archives containing a project.json manifest together with sprite images and audio files. The earlier .sb format used by Scratch 1.x is a binary Squeak object store rather than a ZIP. Scratch allows users to create games, animations, stories and interactive programs. The name "scratch" comes from a technique used in music mixing.

Scratch was designed as an educational tool for children aged 8 and above to get acquainted with coding. It uses a block-based programming interface built around coloured instruction blocks that snap together - no text syntax required. Scratch is an event-driven, visual programming language. Although programming in Scratch is simple and fun, Scratch 3.0 extended the platform with optional extension blocks for real hardware such as micro:bit and LEGO. Projects can be shared on the scratch.mit.edu community or run offline using Scratch Desktop.

Security & safety

RISK: LOW

Scratch projects are sandboxed, data-only programs (blocks + media) with no access to your system, so a .sb3/.sb2/.sb is low risk to open in the Scratch editor or TurboWarp. The .sb3 being a ZIP means you can safely inspect contents with an archive tool. Always download the editor from the official scratch.mit.edu (or turbowarp.org) rather than third-party 'Scratch project openers', some of which are adware. For children, the bigger consideration is the online community's sharing/comment features, not the file format. A bare '.scratch' file from unrelated software is just a temp file - treat per its source app.

Format details

in a nutshell
FULL NAMEScratch project file
DEVELOPERMIT (Scratch Foundation / MIT Media Lab Lifelong Kindergarten group)since Scratch 1.0 (2007); current Scratch 3.0 from 2019
MIME TYPEapplication/x.scratch.sb3
TYPEVisual-programming project (ZIP+JSON in current versions; older versions a binary/Squeak object store)
STANDARDOpen · royalty-free
This extension is also used by…
  • Generic 'scratch' temp/working file - Many unrelated programs name a temporary or working buffer '.scratch'; these are app-specific scratch files, not Scratch projects.
MAGIC BYTES · FILE SIGNATURE
OFFSET
00010203
HEX
504B0304
ASCII
PK··
IMPORTANT: the actual Scratch extensions are .sb (Scratch 1.x), .sb2 (Scratch 2.0) and .sb3 (Scratch 3.0) - there is no standard ".scratch" extension. Modern .sb2/.sb3 are ZIP archives ("PK" at offset 0) containing a JSON project description plus media (sprites, costumes, sounds). The original .sb (Scratch 1.x) is instead a binary Squeak object store with its own header, not a ZIP. confidence: medium because the db's ".scratch" label does not match the real extensions.

Programs that open SCRATCH files

Windows2 apps
Scratch Desktop (offline editor) Free Install the offline app, then File > Load from your computer to open .sb3/.sb2/.sb without internet.
7-Zip (inspect only) Open-source Open an .sb3/.sb2 as an archive (it's a ZIP) to extract its project.json, images and sounds. Doesn't run the project.
macOS1 app
Scratch Desktop (offline editor) Free Install and use File > Load from your computer to open Scratch project files offline.
Linux1 app
Scratch online editor / TurboWarp Desktop Open-source Scratch has no official Linux desktop build; use the web editor or TurboWarp Desktop (Linux) to open .sb3 files.
Web2 apps
Scratch online editor Free File > Load from your computer, pick the .sb3/.sb2/.sb. Runs and edits the project in the browser; no account needed to open a local file.
TurboWarp Open-source Drop the .sb3 in to run it faster and export to standalone HTML/exe. A Scratch-compatible editor/compiler.

Technical details

deep spec
Container formatZIP archive (`.sb2` / `.sb3`); binary Squeak object store (`.sb`, Scratch 1.x)
Project manifest`project.json` - JSON descriptor at the ZIP root listing all sprites, block scripts, costumes and sounds
Embedded media types`.png` and `.svg` for costumes and backdrops; `.mp3`, `.wav` and `.ogg` for sounds - all packed inside the archive
Magic bytes`50 4B 03 04` ("PK" ZIP signature) at offset 0, present in all `.sb2` and `.sb3` files
Programming paradigmVisual, block-based, event-driven; scripts are assembled by snapping coloured blocks together without typing text
MIME type`application/x.scratch.sb3`
Target audienceChildren aged 8 and above; widely adopted in primary and secondary school coding curricula worldwide
Version history`.sb` (Scratch 1.x, 2007) → `.sb2` (Scratch 2.0, 2013) → `.sb3` (Scratch 3.0, 2019)
Block palette categoriesMotion, Looks, Sound, Events, Control, Sensing, Operators, Variables, My Blocks
SpritesIndependent objects that combine costume images, sound clips and a stack of block scripts; the main authoring unit in a project
Extension blocks (Scratch 3.0)Optional add-on block sets including Music, Pen, Video Sensing, Text to Speech, micro:bit and LEGO Mindstorms
Developer / maintainerMIT Media Lab Lifelong Kindergarten group; ongoing stewardship by the Scratch Foundation (non-profit)
Related sprite format`.sprite3` / `.sprite2` - single-sprite export containers sharing the same ZIP+JSON inner structure
Community sharingProjects publish directly to scratch.mit.edu; the platform hosts over 100 million registered users and 100+ million shared projects
ReleasedScratch 1.0 (2007); current Scratch 3.0 from 2019
Open standardYes · royalty-free
Specificationen.scratch-wiki.info

SCRATCH conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with SCRATCH files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about SCRATCH files.

Frequently asked questions

What is a Scratch project file?
It's a program made in MIT's free block-based coding tool, containing the scripts, sprites, costumes and sounds. The real extensions are .sb3 (Scratch 3.0), .sb2 (2.0) and .sb (1.x) - not '.scratch'.
How do I open a Scratch (.sb3) file?
Go to scratch.mit.edu, choose File > Load from your computer and pick the file - it opens and runs in the browser, no account needed. Or install the offline Scratch Desktop app and do the same.
Is a .scratch file the same as a .sb3?
Probably not. Standard Scratch projects use .sb/.sb2/.sb3. A file literally ending in '.scratch' is more likely a temporary/working file from some other program. Check what created it.
Can I open an old .sb or .sb2 project in the new Scratch?
Yes - Scratch 3.0 (online and Scratch Desktop) opens older .sb2 and .sb projects and converts them to .sb3 when you save. Going back from .sb3 to .sb2 isn't supported.
How do I turn a Scratch project into a game I can run without Scratch?
Use TurboWarp's packager to export the .sb3 as a standalone Windows .exe or as HTML that runs in any browser.
What's inside an .sb3 file?
It's a ZIP archive - rename it to .zip (or open with 7-Zip) to see project.json (all the blocks and sprites) plus the image and sound assets the project uses.

References

1Scratch Wiki - Scratch File Formaten.scratch-wiki.info
2Scratch - Download the offline editorscratch.mit.edu

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.MDMarkdown Document
4.BINCD/DVD Disc Image (BIN/CUE)
5.NOMEDIAAndroid No-Media Marker File
6.PARTPartial Download File
7.RPMSGRestricted Permission Message
8.EXEWindows Executable (Portable Executable)
9.AVIFAV1 Image File Format (AVIF)
10.DBSQLite Database File

Related extensions

.DOStata Do-File
.MDMarkdown Document
.HEXIntel HEX File
.XSDXML Schema Definition
.MAPSource Map (JavaScript / CSS)
.CONFIGConfiguration File

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z