# My precious code!

**URL:** <https://forum.makecode.com/t/my-precious-code/43167>\
**Category:** Help\
**Created:** [April 6, 2026, 8:28pm UTC](https://forum.makecode.com/t/my-precious-code/43167 "2026-04-06T20:28:43Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![KawaiiGoddess](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kawaiigoddess/32/33722_2.png) [@KawaiiGoddess](https://forum.makecode.com/u/KawaiiGoddess)\
**Post date:** [April 6, 2026, 8:28pm UTC](https://forum.makecode.com/t/my-precious-code/43167/1 "2026-04-06T20:28:44Z")

</div>

NOOO! All my code went away… and it’s not in history!!!

😭

---

<div class="post-metadata">

**Author:** ![NeverStopTheCoder](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/neverstopthecoder/32/21194_2.png) [@NeverStopTheCoder](https://forum.makecode.com/u/NeverStopTheCoder)\
**Post date:** [April 6, 2026, 9:05pm UTC](https://forum.makecode.com/t/my-precious-code/43167/2 "2026-04-06T21:05:07Z")

</div>

sorry to hear that all I know you can do to stop this from happing again is hiting the save button on the bottom and saving the PNG the code is stored in the png

---

<div class="post-metadata">

**Author:** ![TheEarth](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/theearth/32/34579_2.png) [@TheEarth](https://forum.makecode.com/u/TheEarth)\
**Post date:** [April 6, 2026, 10:05pm UTC](https://forum.makecode.com/t/my-precious-code/43167/3 "2026-04-06T22:05:07Z")

</div>

yu could use GitHub and commit every 2.5 seconds

---

<div class="post-metadata">

**Author:** ![redSprite](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/redsprite/32/34262_2.png) [@redSprite](https://forum.makecode.com/u/redSprite)\
**Post date:** [April 6, 2026, 10:20pm UTC](https://forum.makecode.com/t/my-precious-code/43167/4 "2026-04-06T22:20:28Z")

</div>

Well uhm… What happened?  
If ya can’t get it back, I dunno what to tell you.  
Just make safety precautions for later, ok?

---

<div class="post-metadata">

**Author:** ![CodingGrizzlyBear](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/codinggrizzlybear/32/14838_2.png) [@CodingGrizzlyBear](https://forum.makecode.com/u/CodingGrizzlyBear)\
**Post date:** [April 6, 2026, 11:22pm UTC](https://forum.makecode.com/t/my-precious-code/43167/5 "2026-04-06T23:22:07Z")

</div>

duplicate your project every few updates

---

<div class="post-metadata">

**Author:** ![KawaiiGoddess](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kawaiigoddess/32/33722_2.png) [@KawaiiGoddess](https://forum.makecode.com/u/KawaiiGoddess)\
**Post date:** [April 6, 2026, 11:23pm UTC](https://forum.makecode.com/t/my-precious-code/43167/6 "2026-04-06T23:23:28Z")

</div>

Just saying that happened a few days ago and not today.

---

<div class="post-metadata">

**Author:** ![KawaiiGoddess](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kawaiigoddess/32/33722_2.png) [@KawaiiGoddess](https://forum.makecode.com/u/KawaiiGoddess)\
**Post date:** [April 6, 2026, 11:23pm UTC](https://forum.makecode.com/t/my-precious-code/43167/7 "2026-04-06T23:23:32Z")

</div>

Clever.

---

<div class="post-metadata">

**Author:** ![OrigamiArtist](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/origamiartist/32/33299_2.png) [@OrigamiArtist](https://forum.makecode.com/u/OrigamiArtist)\
**Post date:** [April 10, 2026, 5:29pm UTC](https://forum.makecode.com/t/my-precious-code/43167/8 "2026-04-10T17:29:35Z")

</div>

Sorry this happened, But I have a few methods for saving.

1. Click the save button, Save it as a file, then click Import \> Png. \> Then select it from files!
2. Press Download and select a hardware or file to save it. Sometimes projects are too big to do that.
3. If it happened a few minutes ago, you can Press ‘Project History’ and it should come up
4. Post it here, copy the link, Go to MakeCode and press Import \> Import URL and paste the link.
5. Make a GitHub Repo to Import as well. I don’t know how to do this one.  
That’s all I can help with, The projects shouldn’t get deleted usually.  
This could have happened if you:
6. Cleared your browser history
7. MakeCode starts reloading a lot when it updates
8. If you did clear any data, that might also be why. I can’t help any further.
