Paste, format, highlight, and preview HTML — entirely in your browser. No install. No server. No nonsense.
The app below is running live — not a screenshot. Open full screen →
.html files or URLs with drag-and-drop support, then download with a custom filename.app#sample&preview or ?import=url — every action is URL-addressable.app/index.html directly in any modern browser — no internet connection or build step needed. The only online features are the import-from-URL fetch (which requires internet) and the Google Fonts / icon CDN.localStorage only. No data ever leaves your device — there are no analytics, no tracking, and no external requests that carry your code.?embed=1), demo (?embed=demo — interactive but no import/export), and read-only (?embed=readonly). See the README for full iframe code snippets.Ctrl/Cmd + Enter — run preview | Ctrl/Cmd + S — export to file | Ctrl/Cmd + K — toggle word wrap | Tab — indent 2 spaces | Shift + Tab — unindent | Escape — close modalsLeave a tip on Ko-fi
HTML Previewer is completely free and open source. If it saves you time, consider supporting the project — every coffee counts!
Tip on Ko-fiPowered by Ko-fi — no account needed
# Clone the repository git clone https://github.com/MrLiPx/html-previewer.git cd html-previewer # Open directly in your browser — no server needed open app/index.html # macOS start app/index.html # Windows xdg-open app/index.html # Linux # Deploy — Netlify, Cloudflare Pages & Vercel configs included