Edit Files on Your Computer From the Browser: How It Actually Works
For most of the web's history, browsers could not touch your files. You could upload a file (a one-way trip into a server). You could download a file (a one-way trip out). But editing a file on your computer directly from a website? Impossible.
That changed. Modern browsers can now open, edit, and save files on your disk — securely, with your permission, and without uploading anything. EDTR uses this to feel like a real desktop editor while still living entirely in a browser tab.
The Old Way: Upload, Edit, Re-Download
Before this technology existed, the workflow looked like this:
- Click "Choose file"
- Pick a file from your disk
- Wait for it to upload (or read into memory)
- Edit it
- Click "Download"
- Find the downloaded copy
- Move it back to the original location
- Delete the duplicate
notes (3).txt next to notes (2).txt and notes.txt.
This is fine for one-time uploads. Terrible for actual editing.
The New Way: Direct File Access
The browser now exposes an API called the File System Access API. It lets a web page ask: "Can I open this file on your disk?" If you say yes, the page can read it, edit it, and write changes back — to that exact same file, in that exact same place.
The workflow becomes:
- Open the file in the browser
- Edit it
- Press
⌘S
Is This Safe?
This is the first question everyone asks. The short answer: yes, because the browser controls access tightly.
A web page cannot:
- Read files you have not opened
- Scan your folders without permission
- Access files after you close the tab without re-asking
- Touch system folders or other apps' data
It is closer to "drag a file into an app window" than "let a website crawl your disk."
What You Can Do With It
Once the browser can read and write files, a lot of useful things open up:
- Edit real files in real folders instead of uploading copies
- Open an entire folder as a workspace, like a code editor would
- Save changes back to disk with a normal keyboard shortcut
- Watch a file and re-open it later from a recent list
- Click "Open File" to pick a file from your disk
- Click "Open Folder" to browse a whole directory in the sidebar
- Edit anything in the editor
- Press
⌘Sto save back to the original location
Which Browsers Support It
This is the current reality:
- Chrome — full support
- Edge — full support
- Opera — full support
- Brave — full support (Chromium-based)
- Firefox — not yet supported
- Safari — not yet supported
A Practical Example
Imagine you keep a folder of notes on your laptop:
~/notes/
├── ideas.md
├── books.md
├── meeting-2026-05-13.md
└── todo.md
With EDTR you can:
- Open
~/notes/as a folder in EDTR - See all four files in the sidebar
- Click any one to start editing
- Press
⌘Sto save changes back to that file - Create a new file directly in that folder
- Open the same folder tomorrow in your real editor (Vim, VS Code, whatever) — your changes are there
What This Replaces
This kind of editor is genuinely useful for:
- Quick edits to config files (
.env,.gitignore, JSON) - READMEs and docs in a project folder
- Drafting posts and notes inside an existing folder
- Reviewing a file without firing up an IDE
- Working from a shared computer where you cannot install software
A Note on Permissions
The browser does not remember access between visits by default. If you open notes.md today and come back tomorrow, you may need to re-pick the file. This is intentional — the browser leans toward "ask again" instead of "trust forever."
EDTR keeps a list of recently opened files so you can re-open them with one click instead of digging through folders.
Try It
Open edtr.plus in Chrome or Edge. Use the sidebar to open a folder. Edit a file. Save it. Open that file in any other editor — your changes are there.
The browser is finally a real place to edit real files.
Your files. Your folders. Edited from a tab.