HTML Editor & Live Preview
Write HTML in a VS Code-class editor or a rich visual editor, with a live side-by-side preview you can resize to any device. Hover to inspect elements in both the code and the preview. Everything runs in your browser — nothing is uploaded.
Overview
This HTML editor pairs a professional code editor with a visual rich editor and a live, responsive preview — all running entirely in your browser. Write real HTML with syntax highlighting, folding, tag auto-close and completion, or switch to the visual editor to format headings, tables, images and links without touching markup; both edit the same document. The preview renders side by side in a sandboxed iframe you can size to mobile, tablet, desktop or any custom width, with an optional column grid and Figma-style rulers for alignment. Turn on inspect to highlight any element in both the code and the preview as you hover. Documents autosave to local storage and can be cleared at any time, and you can export a self-contained HTML file, copy the markup, or print — all privately, and all offline once the page has loaded.
Key Features
- Live side-by-side preview that renders as you type
- VS Code-class code editor with syntax highlighting, folding, auto-close and completion
- Visual rich editor for headings, tables, images, links and formatting
- Switch any time between the code and the visual editor over one document
- Responsive preview: mobile, tablet, desktop presets plus freeform drag-to-resize
- Column grid and Figma-style rulers (top & left) for alignment
- Optional hover inspection: highlight an element in both the code and the preview
- Documents saved automatically in your browser (IndexedDB); clear all in one tap
- Export as a self-contained .html file, copy the HTML, or print
- Works fully offline and adapts to light and dark mode
Common Use Cases
- Prototype and Tweak Page Sections — Developers and designers draft landing sections, cards and layouts and see them render live at multiple screen sizes before pasting into a project.
- Author Rich Email and CMS Content — Write formatted content — headings, tables, images and links — visually, then copy clean HTML into a newsletter, CMS or knowledge base.
- Learn and Teach HTML — Students and instructors experiment with HTML and instantly see the result, using hover-inspection to connect markup to what appears on screen.
- Test Responsive Behavior — Preview a page at mobile, tablet and desktop widths, or a freeform size, to check how a layout adapts before shipping it.
- Private, Offline HTML Editing — Anyone handling sensitive markup keeps everything on-device, with autosave and local document management and zero uploads.
How It Works
Write in code or visually
Type real HTML in the code editor, or switch to the rich editor to format headings, tables, images and links visually. Both edit the same document.
Preview live, at any size
See a clean render side by side. Switch between mobile, tablet and desktop widths, drag the handle for a custom size, and toggle a column grid or Figma-style rulers.
Inspect on hover (optional)
Turn on inspect in the preview toolbar, then move your pointer over the code to outline the matching element in the preview, and over the preview to jump to its source in the code.
Save, export or print
Documents autosave locally in your browser. Download a self-contained .html file, copy the HTML, or print — all without uploading anything.