Here you have several options.
If you use Scratch 1.4, you can save the project summary for text only. Slide the File menu, then Write project Summary.
This functionality will be available soon (hopefully) before Scratch 2.0. UPDATE: it is added.
You can also get a textual representation of all blocks using the Scratchblocks generator .
Or you can save the project 2.0 as myproject.sb2, rename it to myproject.zip, unzip the ZIP and take the file project.json.
Unfortunately, none of these methods can be easily imported back into Scratch.
source
share