# All my code got deleted

**URL:** <https://forum.makecode.com/t/all-my-code-got-deleted/34272>\
**Category:** Help\
**Created:** [March 4, 2025, 1:08pm UTC](https://forum.makecode.com/t/all-my-code-got-deleted/34272 "2025-03-04T13:08:03Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![BotWarrior](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/botwarrior/32/25328_2.png) [@BotWarrior](https://forum.makecode.com/u/BotWarrior)\
**Post date:** [March 4, 2025, 1:08pm UTC](https://forum.makecode.com/t/all-my-code-got-deleted/34272/1 "2025-03-04T13:08:03Z")

</div>

![Screenshot 2025-03-04 at 17.21.25](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/b/e/be6dd645ce6ad76c4e0ac30bb6a48b2438374958.png)  
It is literally just blank!!! I don’t know what to do. I know this happens to a lot of people and it is so so so so so so so so so so so so frustrating!!! There was a few hours of work. Does anyone know how to get my code back?!

---

<div class="post-metadata">

**Author:** ![Luke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/luke/32/32519_2.png) [@Luke](https://forum.makecode.com/u/Luke)\
**Post date:** [March 6, 2025, 12:25am UTC](https://forum.makecode.com/t/all-my-code-got-deleted/34272/2 "2025-03-06T00:25:54Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/2/9/29a13817b442781ed81f7ef595243a499abeeefc.png)  
the mods might be able to recover it so good luck! i always just save hard copies, it’s the most foolproof method of saving projects (this has happened to me several times too 🫠)  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/8/8/88952b7f05126f4982a6c340395da8ea2007fda7.png)

---

<div class="post-metadata">

**Author:** ![KIKIvsIT](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kikivsit/32/10492_2.png) [@KIKIvsIT](https://forum.makecode.com/u/KIKIvsIT)\
**Post date:** [March 6, 2025, 12:26am UTC](https://forum.makecode.com/t/all-my-code-got-deleted/34272/3 "2025-03-06T00:26:34Z")

</div>

Were you logged in, by any chance?

---

<div class="post-metadata">

**Author:** ![eanders](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/eanders/32/3134_2.png) [@eanders](https://forum.makecode.com/u/eanders)\
**Post date:** [March 6, 2025, 12:44am UTC](https://forum.makecode.com/t/all-my-code-got-deleted/34272/4 "2025-03-06T00:44:04Z")

</div>

I’m very sorry this happened! Can you please check your browser debug console for errors? Any errors there might help us understand what’s failing. If you were signed in, try accessing from an incognito window or different machine.

---

<div class="post-metadata">

**Author:** ![BotWarrior](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/botwarrior/32/25328_2.png) [@BotWarrior](https://forum.makecode.com/u/BotWarrior)\
**Post date:** [March 6, 2025, 1:07am UTC](https://forum.makecode.com/t/all-my-code-got-deleted/34272/5 "2025-03-06T01:07:32Z")

</div>

Sorry I didn’t think of it at the time. My thought process was “oh all my code is blank, probably just the website not loading properly”

---

<div class="post-metadata">

**Author:** ![BotWarrior](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/botwarrior/32/25328_2.png) [@BotWarrior](https://forum.makecode.com/u/BotWarrior)\
**Post date:** [March 6, 2025, 1:07am UTC](https://forum.makecode.com/t/all-my-code-got-deleted/34272/6 "2025-03-06T01:07:38Z")

</div>

Yes, always

---

<div class="post-metadata">

**Author:** ![Josef](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/josef/32/12457_2.png) [@Josef](https://forum.makecode.com/u/Josef)\
**Post date:** [March 6, 2025, 1:30pm UTC](https://forum.makecode.com/t/all-my-code-got-deleted/34272/7 "2025-03-06T13:30:37Z")

</div>

@eanders cloud?

---

<div class="post-metadata">

**Author:** ![BotWarrior](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/botwarrior/32/25328_2.png) [@BotWarrior](https://forum.makecode.com/u/BotWarrior)\
**Post date:** [March 6, 2025, 1:31pm UTC](https://forum.makecode.com/t/all-my-code-got-deleted/34272/8 "2025-03-06T13:31:33Z")

</div>

I was thinking that maybe I used too much storage, since it happened when I switched to assets tab, did some stuff and then switched back. I don’t know if that is the case, but I deleted maybe ~50 old games lol.

---

<div class="post-metadata">

**Author:** ![CrunchyToast](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/crunchytoast/32/17780_2.png) [@CrunchyToast](https://forum.makecode.com/u/CrunchyToast)\
**Post date:** [March 6, 2025, 1:32pm UTC](https://forum.makecode.com/t/all-my-code-got-deleted/34272/9 "2025-03-06T13:32:34Z")

</div>

@BotWarrior Each time you log off, you should hit the download save button to the right of the name of the project. That way, you have a recovery file in case something happens to your code, etc…

---

<div class="post-metadata">

**Author:** ![BotWarrior](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/botwarrior/32/25328_2.png) [@BotWarrior](https://forum.makecode.com/u/BotWarrior)\
**Post date:** [March 6, 2025, 9:06pm UTC](https://forum.makecode.com/t/all-my-code-got-deleted/34272/10 "2025-03-06T21:06:24Z")

</div>

It happened during me coding.

---

<div class="post-metadata">

**Author:** ![BotWarrior](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/botwarrior/32/25328_2.png) [@BotWarrior](https://forum.makecode.com/u/BotWarrior)\
**Post date:** [March 7, 2025, 3:22am UTC](https://forum.makecode.com/t/all-my-code-got-deleted/34272/11 "2025-03-07T03:22:31Z")

</div>

Is this a problem (this is in private browsing)

 ![Screenshot 2025-03-07 at 11.12.33](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/6/3/6396e5ffb93ae7b240b8eed1aa1b549f00aae52c.png)

---

<div class="post-metadata">

**Author:** ![CrunchyToast](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/crunchytoast/32/17780_2.png) [@CrunchyToast](https://forum.makecode.com/u/CrunchyToast)\
**Post date:** [March 7, 2025, 5:29pm UTC](https://forum.makecode.com/t/all-my-code-got-deleted/34272/12 "2025-03-07T17:29:05Z")

</div>

Are you using Windows or MacOS?

---

<div class="post-metadata">

**Author:** ![IneedHelpWsumCoding](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ineedhelpwsumcoding/32/20536_2.png) [@IneedHelpWsumCoding](https://forum.makecode.com/u/IneedHelpWsumCoding)\
**Post date:** [March 7, 2025, 7:25pm UTC](https://forum.makecode.com/t/all-my-code-got-deleted/34272/13 "2025-03-07T19:25:53Z")

</div>

Ctrl Z maybe

---

<div class="post-metadata">

**Author:** ![BotWarrior](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/botwarrior/32/25328_2.png) [@BotWarrior](https://forum.makecode.com/u/BotWarrior)\
**Post date:** [March 7, 2025, 8:48pm UTC](https://forum.makecode.com/t/all-my-code-got-deleted/34272/14 "2025-03-07T20:48:54Z")

</div>

Mac but it shouldn’t matter

---

<div class="post-metadata">

**Author:** ![CrunchyToast](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/crunchytoast/32/17780_2.png) [@CrunchyToast](https://forum.makecode.com/u/CrunchyToast)\
**Post date:** [March 8, 2025, 1:00am UTC](https://forum.makecode.com/t/all-my-code-got-deleted/34272/15 "2025-03-08T01:00:28Z")

</div>

I’m using a MacOS too!
