Online HTML Editor

Write or paste HTML and see the live preview next to the code. Markdown mode turns simple markup into clean HTML for a product description or a newsletter.

  • Free
  • No sign-up
  • Runs in your browser
A manager writes a product description at the computer while the Elbuz robot next to her shows a text length scale

Online HTML editor

What an online seller needs an HTML editor for

Most store platforms and marketplaces take a product description as HTML. A simple online HTML text editor lets you write that code, see the result next to it and copy clean markup into your store, a feed or an email template — without installing anything.

Typical tasks in an online store
TaskWhat you do
Product description for your storewrite subheadings, lists and a specification table and see the result before the description goes into the product card
Description from a supplierpaste someone else’s HTML and check what is inside: extra styles, unclosed tags, broken images
Newsletter or templateedit one block of an email and see right away how it looks
Text in Markdownturn notes, an AI answer or a README into HTML and copy the code

To check the length of the finished text against marketplace limits, use the character counter.

Source code and live preview

The editor has two panes: the source code with syntax highlighting and a preview that updates as you type. On a narrow screen, switch between “Code” and “Preview” above the editor. “Example” loads a sample product description, “Clear” empties the editor, and “Copy HTML” puts the code on the clipboard.

The preview shows the markup the way a browser renders it, without your store’s styles. Fonts and colors on the site may differ, but the structure — headings, lists, tables, images — stays the same.

HTML tags for a product description

The main tags with examples
TagWhat it doesExample
<h2>, <h3>subheadings of the description<h2>Features</h2>
<p>paragraph<p>Lightweight running shoes.</p>
<strong>, <em>bold and italic<strong>Weight 9.2 oz</strong>
<ul>, <li>list of benefits or what is in the box<ul><li>Sizes 7–13</li></ul>
<table>, <tr>, <td>specification table<tr><td>Sole</td><td>EVA</td></tr>
<img>image by its address<img src="https://…/photo.jpg" alt="Running shoes">
<a>link<a href="https://…">Size chart</a>

Scripts, page styles and iframes do not belong in a product description: most stores and marketplaces strip them. What a good description should say: product description formulas.

Convert Markdown to HTML

Switch the mode to “Markdown → HTML” and paste your text: the result appears in the preview, and “Copy HTML” copies the finished code. Markdown is handy when text is written in notes or a messenger, or comes from an AI assistant: the markup is simple, and the HTML it produces is clean, without stray styles.

Markdown and the HTML it becomes
MarkdownHTML
## Heading<h2>Heading</h2>
**bold**, *italic*<strong>bold</strong>, <em>italic</em>
- item<ul><li>item</li></ul>
1. item<ol><li>item</li></ol>
[text](https://…)<a href="https://…">text</a>
| A | B | + row |---|---|table <table>

HTML converted from Markdown is cleaned of scripts and unsafe attributes before it reaches the preview and the clipboard.

How to check HTML code for errors

Below the editor you see how many characters the code has and which tags are opened but never closed. A forgotten </strong>, for example, makes everything bold down to the end of the description. This is a quick hint, not a full validation.

For a full check against the standard, use the free W3C Markup Validation Service: paste the code on the “Validate by Direct Input” tab, and it lists every error with its line number.

How to view and edit the HTML of a page in your browser

  • The full page source: in Chrome, Edge or Firefox press Ctrl + U (⌘ + Option + U on a Mac).
  • The code of one block: right-click it → “Inspect”. Changes in that panel are visible only to you and disappear when you reload the page.
  • To copy the HTML of a block: in the same panel, right-click the line → “Copy” → “Copy outerHTML”, then paste it here to edit at your own pace.

Is it safe to paste someone else’s HTML?

Yes. The preview runs in a sandboxed frame without permission to run scripts: the pasted code does not execute JavaScript, cannot see this page or your data, and its links do not open in this tab. The code is not sent anywhere — the editor works in your browser.

Product descriptions in HTML without manual work

Writing HTML by hand for every product stops working after a few hundred items. Elbuz writes long and short descriptions for a category or the whole catalog at once and keeps them separately for each language — Elbuz PIM. The landing page generator turns a product card into an interactive presentation page with photos and feature scales and embeds it in the description on your site without changing the description itself.

Common mistakes

  • An unclosed tag: <b> without </b> makes all the text below it bold.
  • A description copied from Word with style="…" and font settings: in the store it looks different than in the editor. Paste it as plain text or via Markdown instead.
  • An image linked from another website: if it is removed there, the description is left with a gap.
  • A table without <tr>: the browser puts all the cells in one row.
  • A script in the product description: marketplaces and most stores strip it or reject the listing.

Did you know?

  1. Markdown was created as “a text-to-HTML conversion tool for web writers”; its version 1.0.1 was released on December 17, 2004.

    Source: John Gruber, Daring Fireball, “Markdown”, checked 18 November 2026
  2. An iframe with an empty sandbox attribute applies all restrictions; without the allow-scripts keyword, the embedded page cannot run scripts.

    Source: MDN Web Docs, “<iframe>”, checked 18 November 2026
  3. The W3C validator checks markup by the address of a page, by an uploaded file or by code pasted in directly.

    Source: W3C Markup Validation Service, checked 18 November 2026

Frequently asked questions

How do I edit HTML online?

Paste the code into the editor: the preview shows the result right away. Edit the code and click “Copy HTML” when you are done.

How do I convert Markdown to HTML?

Switch the mode to “Markdown → HTML”, paste the text and copy the finished code with “Copy HTML”.

How do I check HTML code for errors?

Below the editor you see unclosed tags and stray closing tags. For a full check against the standard, paste the code into the W3C validator on the “Validate by Direct Input” tab.

How do I view the HTML code of a website?

Open the page in your browser and press Ctrl + U (⌘ + Option + U on a Mac) for the full source. Right-click a block → “Inspect” shows the code of that block.

Can I edit HTML in Chrome?

Yes: right-click the element → “Inspect”, then double-click the text or attribute. Only you see the changes until you reload; to keep them, copy the code into this editor.

Is it safe to paste someone else’s code here?

Yes: the preview is a sandboxed frame without scripts, and the code is neither executed nor sent anywhere.

How do I open an HTML file?

With any browser — it displays the page. To edit the file, open it in a text editor or copy its contents here.

Try Elbuz free