Your country

Tools that support it use your country for local currency, number formats, units and paper size. Your choice is saved only in this browser.

Type a name or a two-letter code. Use the up and down arrow keys to move through the countries, Enter to choose one and Escape to close.

Online HTML Editor

Edit sanitized HTML visually or in source, with a draft saved on your device.

Free preview, no sign-upIncluded in your pass Pro tool Pro pass: ₹179 / $5.99 for 30 days On this device: nothing is sent
+3 +1 more details No uploadWorks offline once opened Developer

Free preview: up to half of the cleaned text (at most 100 words) as read-only plain text; your source stays editable, and visual editing and clean HTML open with a Pro pass. Locked until you unlock it: download and copy.

Pro pass ₹179 for 30 days or ₹79 for 1 week, one‑time. Pro pass $5.99 for 30 days or $2.99 for 1 week, one‑time. How to unlock

Try before you buy.

  • Free preview: up to half of the cleaned text (at most 100 words) as read-only plain text; your source stays editable, and visual editing and clean HTML open with a Pro pass.
  • Locked until you unlock it: download and copy.
  • Unlock: Pro pass, ₹179 for 30 days or ₹79 for 1 week, a one-time payment that never renews. Unlock: Pro pass, $5.99 for 30 days or $2.99 for 1 week, a one-time payment that never renews.

Ways to unlock shows how to get the full result.

See passes (opens in a new tab)

Printing this result is locked in the free preview.

Your HTML source

The source input is yours and stays editable. Unsafe elements are removed from the result; the visual editor never executes scripts.

Visual document

Add a link
Add an image URL

The editor shows a text placeholder. The exported document can request the image from its URL.

Add a table

Your source draft autosaves on this device. Paste HTML to begin.

Need executable HTML, CSS and JavaScript? Use the separate playground.

Next steps Done. What next?

Start over

A Pro pass unlocks the full result. See passes

All developer tools

About the Online HTML Editor

Work on a rich-text document and its source together. Add headings, emphasis, lists, quotes, links, tables and image URLs; every change passes through DOMPurify. Word and Docs paste uses the same semantic cleanup rules as the Word to HTML tool. The free preview shows up to half the text, at most 100 words; your own source stays editable and the full visual editor and cleaned exports open with a Pro pass.

How to use it

  1. Paste your own HTML or load the locally saved draft. Choose the source editor for line numbers and HTML syntax support.
  2. With a Pro pass, use the visual toolbar to add headings, lists, links, tables or image URLs.
  3. Clean Word paste, remove inline styles, strip empty tags, or beautify and minify the sanitized result.
  4. With a Pro pass, copy or download the clean document. Save your input separately to keep your own source without an export lock.

Examples

Convert a Word bold span into semantic HTML
Input
<p><span style="font-weight:700">Report</span></p>
Result
<p><strong>Report</strong></p>

Use Clean Word or Docs paste to interpret Office formatting before sanitization.

Sanitization

DOMPurify provides the sanitizer; OWASP XSS prevention explains safe document output boundaries.

Limitations

  • The rich-text document keeps semantic tags; Office shapes, equations and arbitrary page CSS are not retained.
  • Remote images remain URL references and may change or fail when the exported document is opened.
  • Source editing stays available without a pass; the full clean HTML and visual editing open with a Pro pass.

Privacy

On this device: nothing is sent

Everything happens in your browser. What you enter or open here is not uploaded or stored by MySmartCoPilot.

Frequently asked questions

What do I get without a pass?

Without a pass, Online HTML Editor shows up to half of the cleaned text (at most 100 words) as read-only plain text; your source stays editable, and visual editing and clean HTML open with a Pro pass. Until you unlock it, the result can’t be downloaded or copied. A Pro, Premium or Ultimate pass, a one-time payment that never renews, unlocks the full result. The pricing page lists the passes and their prices.

Can pasted scripts run on this page?

No. The visual editor shows only what DOMPurify's allowlist keeps: scripts, event handlers, frames and form controls are removed every time the document changes.

Do image URLs upload my document?

No document is uploaded. A remote image URL is retained in exported HTML, while the editor shows a text placeholder. Opening the exported document can request that image.

Where is my draft saved?

The current source is stored in this browser on this device. Reset removes the draft. If local storage is unavailable, download your own input before leaving.

Where can I run HTML, CSS and JavaScript together?

Use the separate HTML, CSS and JS playground. This editor produces document markup and removes executable content.

Quick answers and tool search

Type to search tools or to get a quick answer, for example 18% of 2500. Use the up and down arrow keys to move through the results, Enter to choose, and Escape to close.