⚡
usefultools.dev
WYS

HTML WYSIWYG Editor

NEW

Free online HTML WYSIWYG editor: format text with a toolbar and see clean, sanitised HTML source update live. Edit either side, copy or download the HTML.

Runs 100% in your browser — your input is never uploaded or stored on our servers.

Editor

0 words · 0 characters

Scripts, styles, iframes, event handlers (onclick…) and javascript: links are stripped before anything reaches the editor.

⚡

Quick Examples

Typical inputs and the results this tool produces.

Script removed
<script>alert(1)</script><p>Hi</p>
<p>Hi</p>
Handler removed
<p onclick="run()">Hi</p>
<p>Hi</p>
Unsafe link
<a href="javascript:alert(1)">Open</a>
<a>Open</a>
Unknown tag
<font color="red">Hi</font>
Hi
📖

Overview

A WYSIWYG editor shows formatted text while you write and produces the HTML behind it. Use the toolbar for bold, italic, underline, strikethrough, headings, lists, links, quotes and inline code, or type in the HTML source pane and watch the editor follow.

Everything that enters the editor, whether typed into the source pane, pasted or dropped, is cleaned first. Scripts, styles, iframes, event handlers such as onclick and javascript: links are removed, and only a short list of safe tags and attributes is kept.

Copy the HTML or download it as a .html file, and keep an eye on the word and character count. It runs in your browser.

Why use this tool?

  • Write formatted content without hand-coding tags
  • Edit the visual and source views side by side
  • Pasted HTML is cleaned of scripts and handlers
  • Copy or download the result as .html
  • No account and nothing uploaded
⭐

Features

🅱️

Formatting toolbar

Bold, italic, underline, strikethrough, headings, lists, links, quotes and code.

↔️

Two-way source pane

Edit the HTML and the editor updates; edit the editor and the HTML follows.

🛡️

Sanitised input

Scripts, styles, iframes, event handlers and javascript: links never reach the editor.

↩️

Undo and redo

Step back and forward through your edits.

🧼

Clear formatting

Remove bold, lists, links and headings from the selection in one click.

💾

Copy or download

Copy the HTML or save a complete .html file, with word and character counts.

🛠️

How to Use

1

Write or paste

Type in the editor, or paste text or HTML. Pasted HTML is cleaned automatically.

2

Format

Select text and use the toolbar for headings, bold, lists, links and more.

3

Check the source

The HTML source pane updates live, and you can edit it directly.

4

Copy or download

Press Copy HTML, or Download .html for a complete page.

🤔

Frequently Asked Questions