I am using Remix IDE on Chrome browser for developing smart contracts.

Today during working on a file when I changed program tab and returned to it again, I found that all of the file contents has been deleted automatically. No Ctrl+Z, close and reopen and other tricks was useful.

1- Can anyone help me recover the emptied file?

2- Does Remix have any limitation in file size?



All Remix files are stored in your browser's local storage. So there is no file size limitation coming from Remix. If you want to check the storage for lost files, check out this link to learn how to back up or restore local storage files. if you don't find any files there, I'm afraid all of your files are gone.

Next time you use remix, make sure you have a backup of your files. You can also publish all explorer files to Github gist. Check out this documentation to see how


There is no solution for this problem.

I have lost some of my important Solidity program files in both Chrome and Firefox.

Finally I decided to use remixd service as a localhost server and use store my Solidity programs in my local file system.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.