sb2gs

March 19, 2026 ยท View on GitHub

Decompile Scratch projects into goboscript projects automatically.

Installation

Use uv to install sb2gs globally.

uv tool install git+https://github.com/aspizu/sb2gs

Usage

You can directly download and decompile a Scratch project from its ID.

sb2gs --id 12345678 my_project_name --verify

--verify requires goboscript to be installed.

usage: sb2gs [-h] [--overwrite] [--id ID] [--verify] input [output]

positional arguments:
  input
  output

options:
  -h, --help   show this help message and exit
  --overwrite
  --id ID      Download the project with this ID.
  --verify     Invoke goboscript to verify that the decompiled code is valid. This does not indicate that the decompiled code is equivalent
               to the original.