Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Project cannot save
- whimsythornberry
-
Scratcher
38 posts
Project cannot save
Hello everyone.
I am not one of the usual suspects in the Discussion Forums, but I have encountered a problem that I have never encountered before.
My project cannot and will not save. I do have the file saved to my computer but the website will not let me share it. It is on the order of 7.5 MB big, and contains 9 sprites (plus an empty one to reduce lag). It is my largest project to date. I have worked on it for a week or two and have been trying for days to share it.
Yes, I have contacted help from the Scratch Team but I still am at a loss as to what could be wrong. The internet is not the problem because sharing other projects goes off without a hitch. I am always signed in, and I have even tried sharing on my alt account. I am on my last legs trying to resolve this.
Please respond if you have any idea what is going on, you might be my last hope.
This might not be help with scripts, but I don't know where this topic belongs. Please correct me if I am mistaken.
I am not one of the usual suspects in the Discussion Forums, but I have encountered a problem that I have never encountered before.
My project cannot and will not save. I do have the file saved to my computer but the website will not let me share it. It is on the order of 7.5 MB big, and contains 9 sprites (plus an empty one to reduce lag). It is my largest project to date. I have worked on it for a week or two and have been trying for days to share it.
Yes, I have contacted help from the Scratch Team but I still am at a loss as to what could be wrong. The internet is not the problem because sharing other projects goes off without a hitch. I am always signed in, and I have even tried sharing on my alt account. I am on my last legs trying to resolve this.
Please respond if you have any idea what is going on, you might be my last hope.
This might not be help with scripts, but I don't know where this topic belongs. Please correct me if I am mistaken.
- Voxalice
-
Scratcher
1000+ posts
Project cannot save
Welcome to the forums! Check out the Sticky topics in the New Scratchers forum for guidance.
(See more information at the Scratch Wiki: Discussion Forums)
Does the project have any sounds or images that are over 10 megabytes in size? If so, Scratch will refuse to save them.
Also, if you have a lot of unnecessary code, you should remove it.
If all else fails, try using https://xeltalliv.github.io/ScratchTools/ProjectJsonMinimizerNew/ to reduce the size of the project.
(See more information at the Scratch Wiki: Discussion Forums)
Does the project have any sounds or images that are over 10 megabytes in size? If so, Scratch will refuse to save them.
Also, if you have a lot of unnecessary code, you should remove it.
If all else fails, try using https://xeltalliv.github.io/ScratchTools/ProjectJsonMinimizerNew/ to reduce the size of the project.
- whimsythornberry
-
Scratcher
38 posts
Project cannot save
I don't think that my project has anything over 10 MB, as I've said it is 7.5 MB total.
Thank you for suggesting that I remove unnecessary code, but it only seems to save when I remove my list “Chapters,” which is about 4.3 MB. It would be a pity if I had to remove that, because my program has been built around it.
Lastly, does your project minimizer only reduce the size of the project from the last save? Because it seems my project stopped saving when I introduced the Chapters list.
Thanks
Thank you for suggesting that I remove unnecessary code, but it only seems to save when I remove my list “Chapters,” which is about 4.3 MB. It would be a pity if I had to remove that, because my program has been built around it.
Lastly, does your project minimizer only reduce the size of the project from the last save? Because it seems my project stopped saving when I introduced the Chapters list.
Thanks

- whimsythornberry
-
Scratcher
38 posts
Project cannot save
I think I might've found the problem, my Chapters list will not save to Scratch, even by itself.
Is there a limit to list item size, not list size, ITEM size?
Is there a limit to list item size, not list size, ITEM size?
- whimsythornberry
-
Scratcher
38 posts
Project cannot save
Try compressing any sounds that you have.
How would I do this?
- minniesworld
-
Scratcher
500+ posts
Project cannot save
How much data does your list have to be 4.3 MEGABYTES?!? Also, what is your project supposed to be? And what is the list for?
- whimsythornberry
-
Scratcher
38 posts
Project cannot save
How much data does your list have to be 4.3 MEGABYTES?!? Also, what is your project supposed to be? And what is the list for?
The list contains the entire Bible (KJV version), where each item is a chapter of the Bible. I have seen projects that have done it, so I have decided that, as a Christian, I was going to do my best to make a better version. The list, titled “chapters”, is 1,189 items long, with the longest item being 13,947 characters long. I thought that this was possible because the limit is 200,000 and I have not found limits on item size.
It took about a week to get a rudimentary search engine together, and here I am another week later trying to upload the finished project to the platform. It can find a verse in the Bible within milliseconds and displays it on screen via a pen text engine.
However, I can remove everything except the list and it still won't save. I don't understand how other people have gotten the Bible onto Scratch and it won't work on mine. All I want now is for this project to leave my computer and enable others to enjoy it.
- whimsythornberry
-
Scratcher
38 posts
Project cannot save
Try compressing any sounds that you have.
Thank you, I have actually managed to reduce file size all the way to 5.3 MB only, thank you very much for your suggestion.
- awesome-llama
-
Scratcher
1000+ posts
Project cannot save
There are two file size limits currently in place. 10MB per asset (sound or costume) and 5MB for project.json (stores everything else about the project including blocks and contents of lists). There is no limit on the entire project .sb3 file, only the contents of it. sb3 files are actually just zip files, you can rename them and/or open them in archival software and you'll see both the assets and the project.json file within.
It's likely you are encountering the project.json limit. A 4.3MB list can fit however it does get close to the limit and it's very likely other data or the way the list is stored goes over the limit.
Consider:
It's likely you are encountering the project.json limit. A 4.3MB list can fit however it does get close to the limit and it's very likely other data or the way the list is stored goes over the limit.
Consider:
- Each list item represented in json is separated by commas. Each item is likely also wrapped in commas. That's 3 bytes per list item. There's also the possibility of escape characters and multiple-byte Unicode characters which further take up space. I don't know if you were accounting for this in the size you said.
- Scratch actually stores the list twice. The second copy is used for the list monitor that you can see/edit. It only updates when the list is showing which can be very confusing because even if the list items were deleted it may still be taking up space. Modified versions of Scratch or the project minimiser tools can delete this second unnecessary copy.
Last edited by awesome-llama (March 7, 2025 10:34:46)
- whimsythornberry
-
Scratcher
38 posts
Project cannot save
There are two file size limits currently in place. 10MB per asset (sound or costume) and 5MB for project.json (stores everything else about the project including blocks and contents of lists). There is no limit on the entire project .sb3 file, only the contents of it. sb3 files are actually just zip files, you can rename them and/or open them in archival software and you'll see both the assets and the project.json file within.
It's likely you are encountering the project.json limit. A 4.3MB list can fit however it does get close to the limit and it's very likely other data or the way the list is stored goes over the limit.
Consider:
- Each list item represented in json is separated by commas. Each item is likely also wrapped in commas. That's 3 bytes per list item. There's also the possibility of escape characters and multiple-byte Unicode characters which further take up space. I don't know if you were accounting for this in the size you said.
- Scratch actually stores the list twice. The second copy is used for the list monitor that you can see/edit. It only updates when the list is showing which can be very confusing because even if the list items were deleted it may still be taking up space. Modified versions of Scratch or the project minimiser tools can delete this second unnecessary copy.
If this is what is happening, what might I do to solve this?
- awesome-llama
-
Scratcher
1000+ posts
Project cannot save
If this is what is happening, what might I do to solve this?You probably should confirm that the project.json file is the problem and specifically that the list data is too much, it might save you a lot of time and effort if there is an easier solution (such as deleting the second copy of the list).
—
If there truly is too much data, then you have the following options:
- Reduce it. Maybe there are parts you don't need and can be deleted.
- Encode the data into a symbols that better fit within the limits. There are 95 1-byte characters you can use, it's likely your text isn't utilising them all. Symbols could represent multiple characters.
- Compression. See run-length encoding for a simple example. If there are lots of words that are commonly used, these could also be substituted.
- Let the user load the data by pasting it into an input box.
- Store the data in pixels of a bitmap costume. The asset limit is 10MB and you can have multiple assets. These can be read using the touching color block. I did this in my game The Mast as I had 7 MB of textures which could then be stored across 22 costumes.
- whimsythornberry
-
Scratcher
38 posts
Project cannot save
Let me rephrase this, how would I confirm that the project.json file is causing the problem?
- awesome-llama
-
Scratcher
1000+ posts
Project cannot save
Let me rephrase this, how would I confirm that the project.json file is causing the problem?
sb3 files are actually just zip files, you can rename them and/or open them in archival software and you'll see both the assets and the project.json file within.
- whimsythornberry
-
Scratcher
38 posts
Project cannot save
Alright, how do I know if there is a problem? (Sorry I don't have as much experience doing this)
- awesome-llama
-
Scratcher
1000+ posts
Project cannot save
Alright, how do I know if there is a problem? (Sorry I don't have as much experience doing this)I first assume you have an sb3 file that is unable to be saved on Scratch. Take your .sb3 file and open it as a zip. Look for the project.json file and check its (uncompressed) file size.
I don't know what your computer is so the instructions have to be a bit generalised. I personally use 7zip on Windows and so I open the sb3 file directly with it. 7zip lists the size of every file in the zip archive. Alternatively for Windows, you can rename the file to a .zip and open it in Explorer (or extract it).
- whimsythornberry
-
Scratcher
38 posts
Project cannot save
Alright so I have a MacBook Pro and I have opened up the project.json, I just can’t tell if there is anything wrong. What should I look for if there is a problem? My Chapters list takes up like 99% of the project.json 

- awesome-llama
-
Scratcher
1000+ posts
Project cannot save
I realise I'm probably overwhelming you with information. The most straightforward answer would be to try the project minimiser linked in Voxalice's reply because it will delete all the unnecessary data including the 2nd copy of the list (if it exists). If it is not successful, jump directly to my bullet points in this reply.
The rest of this reply may be ignored.
But for insight to why it's over the limit you would have to look through the file. Like I said, there are 2 copies of the list. One of them is under a key named “monitors” (probably near the end of the file). This is the one that is safe to delete.
Specifically it's the “value” key which may be emptied.
The rest of this reply may be ignored.
What should I look for if there is a problem?Whether the file size is larger than 5MB.
But for insight to why it's over the limit you would have to look through the file. Like I said, there are 2 copies of the list. One of them is under a key named “monitors” (probably near the end of the file). This is the one that is safe to delete.
"monitors": [{ "id": "abc", "mode": "list", "opcode": "data_listcontents", "params": { "LIST": "Example List" }, "spriteName": null, "value": ["item 1", "item 2", "item 3", "item 4"], "width": 0, "height": 0, "x": 0, "y": 0, "visible": false }]
Specifically it's the “value” key which may be emptied.
"value": [],
Last edited by awesome-llama (March 12, 2025 10:02:16)
- whimsythornberry
-
Scratcher
38 posts
Project cannot save
Thank you all so very much for your contributions. The finished project has been uploaded successfully with your help. God bless you.
https://scratch.mit.edu/projects/1146969594/
https://scratch.mit.edu/projects/1146969594/
- Discussion Forums
- » Help with Scripts
-
» Project cannot save