Free tool · no sign-up · runs in your browser · Step 2 of 4: Convert

Convert HTML to rich text, and see what was lost

Paste the HTML of a product description or an article. Get it back as Shopify rich text metafield JSON, Wix Rich Content, Contentful Rich Text or Sanity Portable Text. A loss report counts the tags, styles and images that did not make it across.

The tool reads only the HTML you paste, or one column of a CSV file you pick. It does not open web addresses, fetch images or see your store or CMS. Nothing is uploaded. We count that the tool was used and which format was chosen, never what you pasted. The output is a draft to review, not a finished import.

Draft to review: checked against the documented format, not imported. It goes into the value of a metafield of type rich_text_field. Written: Paragraphs, headings, one-level lists, links with their title, bold and italic. Not written: Underline, strikethrough, code, superscript, subscript, tables, quotes, images, dividers, lists inside lists and line breaks inside a paragraph. Shopify's page documents none of them.

0 characters. Converted in this tab as you type. Your HTML is not uploaded.

What it does

What it does, and what it does not

  • Reads HTML. Paragraphs, headings, lists, tables, quotes, code blocks, dividers, links, and bold, italic, underline, strikethrough, code, superscript and subscript. Wrappers such as div and span are removed and their text is kept.
  • Counts what is lost. Images, embeds, scripts, class names, colours, sizes, alignment and the blocks and formats the chosen format cannot hold are listed with a count. You can download the list as a CSV file.
  • Checks its own output. The result is tested against the rules in the vendor's documentation: which blocks may sit inside which, and Shopify's size limit of 65,536 bytes.
  • Free size. Up to 200,000 characters of HTML in one paste, or the first 25 rows of a CSV file. This is our own cap, not a vendor limit. With a tools pass this tool runs up to 1,000,000 characters in one paste or 1,000 rows of a CSV file: see the self-serve prices. Larger runs: request access.

What it does not do. It does not import anything, upload images, or connect to Shopify, Wix, Contentful or Sanity. It does not read Markdown or Word files, only HTML. It does not convert from one of these formats back to HTML. It reads named characters such as é and €; one it does not know stays as you wrote it and is counted. Bold or italic set only by a style, not by a tag, is counted as lost. Extra spaces and line breaks in the HTML source are joined into one space, as a browser does, and that is not counted. Web addresses in links are kept as written, so a relative address such as /pages/care stays relative.

Moving a whole site, not one field? Convert your own pages reads public pages and writes an import for the new system.

The four formats

What each format carries here

Shopify rich text metafield

Written: Paragraphs, headings, one-level lists, links with their title, bold and italic.

Not written: Underline, strikethrough, code, superscript, subscript, tables, quotes, images, dividers, lists inside lists and line breaks inside a paragraph. Shopify's page documents none of them.

  • Headings are written at the top level, beside paragraphs. That is where the test data of Shopify's own Hydrogen RichText component has them. The one heading example on Shopify's data types page sits inside a paragraph instead; you can choose that placement. We did not save either one to a store.
  • Shopify's data types page shows heading level 1 only, and the Hydrogen test data has levels 1 and 2. Levels 3 to 6 are written as they are in your HTML and are unverified.
  • Shopify's limit for this metafield type is 65,536 bytes. The tool warns you when the value is larger.

Wix Rich Content

Written: Paragraphs, headings, one-level lists, quotes, tables, code blocks, dividers, links, bold, italic, underline and strikethrough.

Not written: Images (Wix needs the image in its Media Manager first), embeds, inline code, superscript, subscript, lists inside lists, and table header cells (written as bold cells). A line break becomes a new paragraph.

  • Wix shows no space between blocks by itself. Tick "Add spacer paragraphs" if you want an empty paragraph between blocks.
  • Links that do not open in a new tab get the target SELF. Wix documents SELF for buttons; for text links its page shows BLANK only.
  • We did not check which Wix import paths accept this JSON. A Wix API field that takes rich content takes this shape.

Contentful Rich Text

Written: Paragraphs, headings, lists inside lists, quotes, tables, dividers, links, and all seven marks: bold, italic, underline, code, superscript, subscript, strikethrough.

Not written: Images and embeds (an embedded asset or entry must exist in Contentful first), code blocks (written as a paragraph with the code mark), a link's title and its new-tab setting. Header cells are kept only in a first row made of header cells.

  • Your field's own settings may allow fewer node types or marks than the format does. Check the field's validation.
  • Contentful's size limits for a Rich Text field were not re-checked today, so the tool does not test for them.

Sanity Portable Text

Written: Paragraphs, headings, lists inside lists, quotes, links, bold, italic, underline, strikethrough and inline code.

Not written: Tables, images, code blocks and dividers: Sanity's default block has none of them, and adding them needs custom types in your schema. Tables are written as one paragraph per row. Superscript and subscript are removed.

  • Only Sanity's default styles, lists, decorators and the link annotation are used. If your schema removed some of them, Studio will flag those blocks.
  • Each block, span and link gets a _key. The keys are simple counters, unique inside one output.
  • A line break inside a paragraph is written as a new-line character in the text. The specification does not spell this out, so treat it as unverified.

Questions

Common questions

Is my HTML sent to your server?

No. The conversion runs in your browser tab. Nothing you paste and no file you pick is uploaded or stored. When you close the tab it is gone.

What is the loss report?

A table of what is in your HTML but not in the output, with a count for each. "Left out" means it is gone: images, embeds, colours, class names. "Changed" means the text is kept in a simpler form: a table written as paragraphs, underline removed, a nested list moved up one level. Each format has its own list, because each format carries different things.

Why are images left out?

Shopify's rich text metafield has no image at all. The other three formats point at an image that already lives in the new system: a Contentful asset, a Sanity image, a file in the Wix Media Manager. A web address alone is not enough. So upload the images first and place them by hand. The report counts each image so you know how many to place.

Has the output been tested in Shopify, Wix, Contentful or Sanity?

No. Each format was written from the vendor's own documentation, read on 13 November 2026, and the tool checks its own output against those rules. We did not import the output into a store, a site or a space. Treat it as a draft: try one item first.

How much can I convert for free?

One paste of up to 200,000 characters of HTML, as often as you like. In a CSV file, the first 25 rows. For more, use the "Larger runs: request access" link.

Sources

Where each format was read

Every output is a draft: checked against the documented format, not imported. Surge Migrate is not affiliated with Shopify, Wix, Contentful or Sanity.

Step 2 of 4: Convert

Free tools that go with this one

This tool does one job in the Convert step. Content into the target system's own format. Each result is a draft to review.

All free tools, by step and by who they are for →

Moving the whole site? Converted automatically. Checked before you install.

Enter your page addresses. Surge Migrate reads the public pages, converts them into the import format of the system you are moving to, and reports what it could not place. You check the result first, then run the import yourself.