How to Save Notes as .txt Files Automatically in a Folder
Many online notepads store your text inside the browser, so a cleared cache or a different computer can mean a lost note. Saving each note as a real .txt file in a folder you control is safer. This guide explains how that works and how to set it up in AllInNote.
Browser storage versus real files
Most web notepads save to the browser’s local storage. That keeps your text on your device, but it belongs to one browser profile and disappears if you clear site data. To get an actual file you normally have to press a download button each time. Real files in a folder behave differently: you can open them with any editor, back them up, sync them with a cloud drive and search them with your operating system.
How automatic saving to a folder works
Modern desktop browsers such as Google Chrome and Microsoft Edge include the File System Access API. After you choose a folder and grant permission, a website can create and update files in that folder only. AllInNote uses it as follows:
- You click Select folder and pick a folder. The browser shows a permission prompt.
- As you type, AllInNote writes the note to name.txt about half a second after you stop.
- If you rename the note, the file is renamed to match.
The permission applies to that one folder. The website cannot browse the rest of your disk.
Set it up in two minutes
- Open AllInNote in Chrome or Edge on a desktop computer.
- Click Select folder and choose or create a folder such as Notes. Pick one used only for notes.
- Click New note, type something and give the note a name.
- Look in the folder: a
.txtfile with that name is there. The status bar at the bottom shows when saving is done.
If saving stops working
- The folder button says “Reconnect”. The browser forgot permission after a restart. Click it once and allow access.
- A red dot stays in front of a note name. The note has not been written yet. Check that a folder is selected and that you allowed access.
- A file name has a number such as (2). A file with the same name already existed, so AllInNote avoided overwriting it.
- You use Firefox or Safari. These browsers do not support the folder feature. Notes stay in the browser, and you can use Save to download each note as a
.txtfile.
Is it private?
Your text is not sent to our servers. It goes from your browser straight into your folder. Read the Privacy Policy for the details.
Good habits
- Use a dedicated folder and back it up (see our backup guide).
- Choose file names you will understand in a year.
- Press Save all if you want to be sure every note has been written.
Related reading: Why plain text notes last.