Drop-in inline text editor for static HTML pages. Click any text below to edit it, then save a clean file.
This is a demo page for edit-mode.js. Every piece of text you see here is editable. Go ahead and change this paragraph to whatever you want.
Source-preserving saves. Unlike other contenteditable tools, edit-mode.js patches your text changes into the original HTML source. No DOM artifacts, no Tailwind dumps, no browser extension pollution.
Zero dependencies. One script tag, about 8 KB. No build step, no npm install, no configuration. It just works.
Works on local files. Open any HTML file from your desktop, add the script tag, and edit. No server required.
Add this line before your closing body tag and you're done:
<script src="edit-mode.js"></script>