# Transfer code from Micro:bit back to PC

**URL:** https://forum.makecode.com/t/transfer-code-from-micro-bit-back-to-pc/15731
**Category:** micro:bit
**Created:** [October 5, 2022, 8:31pm UTC](https://forum.makecode.com/t/transfer-code-from-micro-bit-back-to-pc/15731 "2022-10-05T20:31:21Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![siflueckiger](https://avatars.discourse-cdn.com/v4/letter/s/ba8739/32.png) [@siflueckiger](https://forum.makecode.com/u/siflueckiger)
#### Post date: [October 5, 2022, 8:31pm UTC](https://forum.makecode.com/t/transfer-code-from-micro-bit-back-to-pc/15731/1 "2022-10-05T20:31:22Z")

</div>

Hi. I have the problem that I no longer have my code on the computer. On my Micro:bit the code is running and I would like to load it back to the computer to continue editing. is this possible?

thanks for your help.  
Simon

---

<div class="post-metadata">

### Author: ![SmashFangameMaker](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/smashfangamemaker/32/6868_2.png) [@SmashFangameMaker](https://forum.makecode.com/u/SmashFangameMaker)
#### Post date: [October 7, 2022, 12:28am UTC](https://forum.makecode.com/t/transfer-code-from-micro-bit-back-to-pc/15731/2 "2022-10-07T00:28:45Z")

</div>

It probably acts as a drive, so if on Windows you opened Files and looked at the Micro:bit’s files, it might be there as a file and you can upload it to your account!

---

<div class="post-metadata">

### Author: ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)
#### Post date: [October 7, 2022, 4:25pm UTC](https://forum.makecode.com/t/transfer-code-from-micro-bit-back-to-pc/15731/3 "2022-10-07T16:25:37Z")

</div>

If it’s the same as Arcade devices, you can import the `CURRENT.UF2` file on that drive.

---

<div class="post-metadata">

### Author: ![bsiever](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bsiever/32/1032_2.png) [@bsiever](https://forum.makecode.com/u/bsiever)
#### Post date: [October 11, 2022, 5:46am UTC](https://forum.makecode.com/t/transfer-code-from-micro-bit-back-to-pc/15731/4 "2022-10-11T05:46:17Z")

</div>

The micro:bit isn’t really a flash drive and the .hex is “converted” to flash memory rather than being copied in its original form (see [here](https://support.microbit.org/support/solutions/articles/19000067847-why-does-the-hex-file-disappear-when-i-transfer-it-to-the-micro-bit-)).

I’m not sure there’s a way to recover a MakeCode file, but you may take a look at uBitTool, which is described here: [https://support.microbit.org/support/solutions/articles/19000117904-how-to-get-the-current-program-off-the-micro-bit](https://support.microbit.org/support/solutions/articles/19000117904-how-to-get-the-current-program-off-the-micro-bit). It appears to allow recovery of Python files.

Bill
