biafa

Html Wysiwyg Editor

Format text the way you would in a word processor and get clean HTML you can paste into a website, blog, CMS field or email. The editor strips inline styles and scripts, keeps semantic tags such as headings, lists, links and tables, and shows the code side by side so you can check or tweak it.

Visual HTML editor

Welcome to our workshop

Join us for a hands-on session on container gardening.

  • Saturday, 10:00–12:00
  • Community garden, Plot 4

Book on our events page.

HTML Content Formatting Reference

Printable HTML tag cheat sheet, semantic content style guide, web accessibility checklist for content and a CMS content brief template.

Formats: PDF, DOCX, XLSX. Instant download after payment (link valid 72 hours, up to 5 downloads). AI-assisted: the templates were drafted with AI help and reviewed and laid out by Kedop.

$3.00 USD, one-time

Secure card checkout by Stripe. Full refund within 7 days — see the refund policy and license.

What a WYSIWYG HTML editor does

WYSIWYG stands for “what you see is what you get”. Instead of typing tags such as <h2> and <ul>, you format text with toolbar buttons and the editor writes the HTML for you. This editor goes a step further and cleans the result: it keeps meaningful, semantic tags — headings, paragraphs, lists, links, quotes and tables — and removes inline styles, fonts, classes, scripts and empty tags that often come along when you paste from word processors or other websites. The HTML panel shows exactly what you will paste into your site.

How to use the editor

  1. Type or paste your content into the editing area.
  2. Select text and use the toolbar: H2 and H3 for headings, B and I for bold and italic, bullet and numbered lists, quote, link and table.
  3. Check the HTML panel below; it updates as you type.
  4. Tick “Open links in new tab” if your site needs it (the editor adds rel="noopener" for safety).
  5. Copy the HTML, or download it as a file.
  6. To edit existing HTML, paste it into the code box and click “Load HTML into editor”.

What gets cleaned

RemovedWhy
Inline styles, fonts, colours and classesThey override your site’s design and make pages inconsistent
Scripts, iframes, forms and embedsSecurity: pasted code should never run on your page
Event attributes (onclick, onload…)Security: can execute JavaScript
Links with javascript: or data: URLsSecurity; only http, https, mailto, tel and relative links are kept
Empty paragraphs and non-breaking spacesTidy code and spacing
Microsoft Word and Google Docs markupExtra spans and attributes bloat the HTML

Bold and italic are converted to <strong> and <em>, which carry meaning for screen readers and search engines, and <div> blocks become paragraphs.

Writing good HTML content

Where to use the HTML

DestinationTip
CMS “HTML” or “source” viewPaste into the code view, not the visual view, to keep the markup
Website builders with an HTML blockPaste the snippet; site styles will apply
Product descriptions (e-commerce)Headings and lists make descriptions scannable
Email newslettersMany email tools need inline styles; paste into their editor and apply their styles
Documentation and help centresSemantic HTML converts cleanly to other formats

Worked example

A community garden’s volunteer copies an event announcement from a word processor into a website form and gets a mess of fonts and spacing. Pasting it into this editor keeps the heading, the bold “hands-on”, the two-item list and the link, but strips the Calibri font, the 11pt size and dozens of span tags. The cleaned HTML is about a quarter of the original length and matches the website’s own styles when pasted into the CMS source view.

Security note

Never paste HTML from untrusted sources directly into a website. The cleaner here removes scripts, event handlers and unsafe link types, which covers the most common risks, but your CMS or framework should still sanitise input on the server. For user-generated content on your own site, use a well-maintained server-side sanitiser library.

HTML editor vs Markdown

Markdown is a plain-text format that many developers, documentation tools and forums use; it converts to HTML. A visual editor suits people who prefer to see formatting as they write, and it produces HTML directly for places that expect it, such as CMS source fields and e-commerce product descriptions. If your platform accepts Markdown, either approach works; if it only accepts HTML or a rich-text box that mangles pasted formatting, cleaning the content here first gives the most predictable result.

Keyboard shortcuts

Most browsers support Ctrl+B (⌘B on Mac) for bold, Ctrl+I for italic, and Ctrl+Z to undo inside the editing area. Pressing Enter creates a new paragraph; Shift+Enter inserts a line break. In lists, press Enter twice to leave the list.

Privacy

Everything runs in your browser. The text you type or paste is not uploaded or stored, and it is cleared when you close the page — copy or download your HTML before leaving.

Frequently asked questions

What is a WYSIWYG HTML editor?

An editor where you format text visually and it generates the HTML code for you.

Does it remove inline styles?

Yes. It keeps semantic tags and removes styles, fonts, classes and scripts.

Can I paste from Word or Google Docs?

Yes. The formatting is cleaned to simple HTML as you paste.

Can I edit existing HTML?

Paste it into the code box and click “Load HTML into editor”.

Is it safe to paste the output into my site?

The output is sanitised for common risks, but your site should also sanitise input on the server.

Is my content uploaded?

No, everything stays in your browser.