Online HTML Editor
A visual WYSIWYG editor with a live "view source" toggle. Format text visually and copy clean HTML.
Loading editor…
How to use the Online HTML Editor
- Type or paste your content into the visual editor.
- Use the toolbar for headings, bold, italic, lists, links and tables.
- Click "View Source" to see and edit the underlying HTML.
- Copy the HTML or download it as an .html file.
Examples
| Input | Output | Notes |
|---|---|---|
Bold the word "important" in the visual editor | <p>This is <strong>important</strong>.</p> | |
Create a 2-item bullet list | <ul>
<li>First</li>
<li>Second</li>
</ul> |
Visual editing with a source view
This editor gives you both modes at once: a WYSIWYG surface for writing and formatting, and a synchronised source view for precise control. Switch freely between them without losing content.
Toolbar features
- Headings (H1–H4), paragraphs, blockquotes
- Bold, italic, underline, strikethrough, inline code
- Ordered and unordered lists
- Links and images (by URL)
- Tables and horizontal rules
- Clear formatting
Paste safety
Content pasted from Word, Google Docs or web pages is stripped of inline styles, comments and scripts, leaving clean semantic HTML.
Frequently asked questions
What is a WYSIWYG editor?
WYSIWYG stands for "what you see is what you get". You format text visually — like in a word processor — and the editor writes the corresponding HTML for you, so you never have to hand-code tags.
Can I edit the HTML directly?
Yes. Click "View Source" to switch to a code view. Changes you make there are reflected back in the visual editor when you switch back.
Is the generated HTML clean?
The editor produces semantic tags (<p>, <strong>, <ul>, <h2>) and sanitises pasted content to remove inline styles and scripts, so the output is safe to publish.
Can I use this for HTML emails?
You can draft the structure here, but email clients need inline styles and table layouts. Use this for the content, then run it through an email-specific inliner.
Does it store my document?
Your draft is kept in your browser's local storage so it survives a refresh. Nothing is uploaded.