# If I delete an extension will it delete my code?

**URL:** <https://forum.makecode.com/t/if-i-delete-an-extension-will-it-delete-my-code/29935>\
**Category:** Help\
**Created:** [August 3, 2024, 6:48pm UTC](https://forum.makecode.com/t/if-i-delete-an-extension-will-it-delete-my-code/29935 "2024-08-03T18:48:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ima.notarobot](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ima.notarobot/32/26551_2.png) [@Ima.notarobot](https://forum.makecode.com/u/Ima.notarobot)\
**Post date:** [August 3, 2024, 6:48pm UTC](https://forum.makecode.com/t/if-i-delete-an-extension-will-it-delete-my-code/29935/1 "2024-08-03T18:48:46Z")

</div>

If I delete an extension will it delete the code from the extension?

---

<div class="post-metadata">

**Author:** ![AlexK](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/alexk/32/33339_2.png) [@AlexK](https://forum.makecode.com/u/AlexK)\
**Post date:** [August 3, 2024, 6:51pm UTC](https://forum.makecode.com/t/if-i-delete-an-extension-will-it-delete-my-code/29935/2 "2024-08-03T18:51:17Z")

</div>

Great question! When you remove an extension, you should not lose any existing code in your project. The program will fail to work, though, as the code is no longer valid.

Removing an extension involves switching from Blocks to JavaScript or Python, though.

**Save a copy of your project before removing an extension!** Any time you switch out of Blocks mode, you should always save a copy of your project first, just in case there are any problems switching back.

---

<div class="post-metadata">

**Author:** ![Ima.notarobot](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ima.notarobot/32/26551_2.png) [@Ima.notarobot](https://forum.makecode.com/u/Ima.notarobot)\
**Post date:** [August 4, 2024, 5:36am UTC](https://forum.makecode.com/t/if-i-delete-an-extension-will-it-delete-my-code/29935/3 "2024-08-04T05:36:36Z")

</div>

OK this was very help full.

---

<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:** [August 4, 2024, 5:38am UTC](https://forum.makecode.com/t/if-i-delete-an-extension-will-it-delete-my-code/29935/4 "2024-08-04T05:38:06Z")

</div>

_taking notes furiously_

---

<div class="post-metadata">

**Author:** ![Gary](https://avatars.discourse-cdn.com/v4/letter/g/839c29/32.png) [@Gary](https://forum.makecode.com/u/Gary)\
**Post date:** [June 5, 2025, 6:52pm UTC](https://forum.makecode.com/t/if-i-delete-an-extension-will-it-delete-my-code/29935/5 "2025-06-05T18:52:28Z")

</div>

how do you delete an extention in the first place?

---

<div class="post-metadata">

**Author:** ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)\
**Post date:** [June 6, 2025, 4:52pm UTC](https://forum.makecode.com/t/if-i-delete-an-extension-will-it-delete-my-code/29935/6 "2025-06-06T16:52:14Z")

</div>

Go to javaScript

 ![Screenshot 2025-06-06 at 8.21.06 AM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/0/5/0558a7d037467a8c8388ee386e88427a322154b3.png)  
Click on the Explorer tab  
 ![Screenshot 2025-06-06 at 8.21.15 AM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/7/3/73c480638ccd5bd433a16965c6df5867f64ea7c7.png)  
Then find the extension (they are near the bottom) and click delete  
 ![Screenshot 2025-06-06 at 8.21.53 AM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/1/1/11ae38ea2a255c151d3e19e4094e5ddc9b8b3753.png)

---

<div class="post-metadata">

**Author:** ![ARandomGuyOnMakeCode](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/arandomguyonmakecode/32/22983_2.png) [@ARandomGuyOnMakeCode](https://forum.makecode.com/u/ARandomGuyOnMakeCode)\
**Post date:** [June 6, 2025, 5:14pm UTC](https://forum.makecode.com/t/if-i-delete-an-extension-will-it-delete-my-code/29935/7 "2025-06-06T17:14:48Z")

</div>

Step 1: Go to JavaScript mode (or python).

 ![Capture step1](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/b/7/b7f2e9cc3ea1df18a9633728c73e5247dac9775c.png)

Step 2: Click on explorer.

 ![Capture step2](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/d/a/da887adefea11648d2eb1ce4a2907b0e09f410f1.png)

Step 3: Scroll to the bottom of the dropdown and click the trash can icon next to the extension you want to delete.

 ![Capture step3](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/7/0/701835c79a41d4d78850c009a368e05ea9664dd6.png)

The rest is self-explanatory.
