Free HTML viewer/editor with live preview and two-way code-to-preview mapping. Click code to find rendered elements, or click elements to jump to source. Includes formatting and concise explanations. No signup.
It features a visual editing function, allowing users to edit directly in the preview area with functions such as bolding text, adjusting font sizes, inserting images and creating lists. It also saves a great deal of time for coding work.
I built this HTML Viewer because existing tools only show code or preview, but never link them together.
The main feature is bidirectional highlighting:
- Click a line of HTML/CSS in the editor, and the matching element on the preview lights up and scrolls into view.
- Click an element on the rendered page, and the editor jumps to the corresponding line of code.
It makes debugging, learning HTML/CSS, and teaching frontend basics much easier.
Built with vanilla JavaScript, 100% client-side (no backend, no data collection), and free to use.
Would love to hear your thoughts — edge cases, feature ideas, bugs you run into, whatever!
Report
No reviews yetBe the first to leave a review for HTML Viewer Online