What is an HTML Previewer?
An HTML previewer renders markup as a browser page so you can review structure, typography, spacing, forms, tables, and component layouts while editing.
Write or paste HTML and preview the rendered result instantly in your browser using an isolated preview frame.
Edit a snippet, component, or complete HTML document.
Rendered in a sandboxed, opaque-origin iframe.
Paste HTML or load a sample to render it inside the isolated preview frame.
Scripts and external resources are blocked by default. Press Ctrl+Enter or Command+Enter to refresh.HTML Preview Guide
Use the live preview to inspect layout and styling while keeping untrusted markup separate from the DevCoreTools application.
An HTML previewer renders markup as a browser page so you can review structure, typography, spacing, forms, tables, and component layouts while editing.
Your input becomes an iframe srcdoc document. Auto-preview can refresh after edits, or you can pause it and use the refresh action on demand.
The previewer renders markup visually. The HTML Formatter changes source indentation and highlights structural issues without executing or rendering the result.
The frame has no same-origin access, form submission, popups, or top navigation. Some browser APIs and integrations will not behave like a deployed page.
HTML can contain scripts and inline event handlers. Blocking them prevents unexpected code execution until you deliberately opt into the restricted script sandbox.
Fragments are accepted and the browser supplies the document wrapper. Full pages can include a doctype, head metadata, embedded styles, and body content.
No. Preview generation, warnings, copy, and download actions run locally in your browser.
No. Scripts and inline event handlers remain blocked in every preview.
The sandbox separates untrusted markup from the Angular application and restricts capabilities that could navigate, submit, open windows, or access the parent page.
Yes. Full documents and partial snippets are both supported, although deployment-specific server behavior and browser permissions are outside the preview.
External resources are blocked by default. Enabling them may contact the hosts referenced by your HTML, so review URLs before opting in.
The previewer shows rendered output. The formatter rewrites HTML source for readability and keeps all markup inert.