toolo.dev

HTML Preview Online

Preview HTML online: paste code and see it render live with CSS and JavaScript, in a sandbox that cannot touch your data. Open .html files or go full screen.

After you click or type in the editor, the Tab key indents. Press Escape, then Tab, to move to the next field.
Paste or type HTML to see it here.

Your HTML stays in this browser tab. The preview runs in a sandboxed frame, so its scripts can't read or change this page.

About the HTML Preview

Paste code into this online HTML preview and see it rendered next to the editor, updated as you type. Snippets, email templates and full pages with CSS and JavaScript all work, and Full Screen shows the result across the whole screen.

Use it to check an HTML email before you send it, look at a page an AI assistant wrote for you, try a layout idea without creating files, or read an .html file someone sent you. Your code runs in a sandboxed frame with its own origin. Its scripts can run, but they can't read this page, your cookies or anything toolo stores, and toolo never sends your code to a server. For Markdown files, use the Markdown Preview instead.

  1. Paste or type into the HTML box. To view a file, click Open File or drop an .html file onto the editor. Files up to 5 MB are accepted.
  2. The Preview updates about 0.3 seconds after you stop typing. A fragment like <h2>Hello</h2> is fine: the browser adds the missing <html>, <head> and <body> tags itself.
  3. Click Full Screen to show the preview over the whole screen, so a desktop layout gets its full width. Press Esc or click Exit Full Screen to go back. The page isn't reloaded, so a form you filled in keeps its values.
  4. Run JavaScript is on by default. Turn it off to see the page before any script changes it, or to stop a script that loops or keeps showing alerts. Switching it reloads the preview.
  5. Load Example fills the editor with a small order page that uses CSS and a button script. Clear empties the editor.