HTML Editor
Format a page visually with toolbar buttons for headings, lists, links, tables and images, then copy or download the HTML. Scripts and remote resources are blocked.
Edit visually with the toolbar or switch to HTML. Scripts and remote resources are blocked.
What is the html editor?
A WYSIWYG (what you see is what you get) HTML editor lets you format a page the way you would in a word processor while it writes the markup for you. Use toolbar buttons for headings, bold and italic, lists, alignment, colors, links, tables and images, or switch to the HTML view to edit the code directly. It suits quick pages, email snippets and learning how formatting maps to tags. Your content stays in the current page unless you choose to copy or download it.
How it works
The visual editor is an editable document inside an iframe. Toolbar buttons apply browser editing commands to your selection, and the HTML view updates after every change. Editing the HTML view reloads the visual editor from your code. The iframe is sandboxed without script permission and a restrictive content security policy blocks remote resources and form submissions, so JavaScript never runs and external images do not display. Images you pick from your device are embedded as data URIs (up to 2 MB). Links are limited to http, https, mailto, tel and relative paths. Exact markup can differ slightly between browsers, and the tool does not validate it.
Worked example
Type a title, select it and choose Heading 1 in the style menu. Add a sentence, select a word and press Bold, then press the bulleted list button for a short list. Insert a 3x3 table with the table button. Switch to HTML to see the h1, strong, ul and table tags that were generated, then use Copy HTML or Download HTML to take the result with you. Paste a script tag into the HTML view and it stays inactive.
Frequently asked questions
Is this a WYSIWYG HTML editor?
Yes. Format text with toolbar buttons in the visual editor and the HTML is generated for you. Use the Split or HTML view to see or edit the code at the same time.
Which formatting options are available?
Headings, paragraph and quote styles, bold, italic, underline, strikethrough, inline code, superscript and subscript, text and highlight colors, lists, indentation, alignment, links, images, tables, horizontal rules and clear formatting.
Does the preview run JavaScript?
No. The editor iframe is sandboxed without script permission, so JavaScript in the HTML will not execute.
Can I add images?
Yes. Embed an image from your device, which is stored in the HTML as a data URI, or insert an image tag by URL. Remote images do not display in the editor because external requests are blocked.
Is my HTML uploaded or saved?
No. Editing, copying and downloading happen in your browser. The tool does not upload or automatically save your content.
Can I download my work?
Yes. Choose Download HTML to save the current source as an .html file, or Copy HTML to put it on your clipboard.
Does the editor check whether my HTML is valid?
No. It shows how the browser interprets your markup but does not run a validator or report conformance errors.
Related tools
- Markdown Editor with Live Preview A fast online Markdown editor with a visual WYSIWYG mode, live preview, a formatting toolbar, and one-click export — your text never leaves your browser.
- JSON Formatter & Validator Beautify, minify and validate JSON with clear error messages — nothing is uploaded.
- Base64 Encode & Decode Encode and decode Base64 for text and files, with URL-safe mode — privately in your browser.
- Password Generator Generate a random password, memorable passphrase, or PIN using browser cryptography, with options for length, character types, and readability.
- JSON to CSV Converter Convert structured JSON into spreadsheet-ready CSV without uploading files or leaving your browser.
- CSV to JSON Converter Turn spreadsheet data into clean JSON arrays or keyed objects without sending files to a server.
- JSON to XML Converter Create clean XML from nested JSON while keeping your data private and local to the browser.
- JSON to YAML Converter Convert structured JSON into readable YAML for config files, deployment manifests, and developer tooling.
- Regex Find & Replace Tool Test regular expressions with live match highlighting, then find and replace text using capture groups — privately, in your browser.