TXT to HTML

The safe way to place pasted text into a page: characters that would otherwise be read as tags are escaped first.

Loading this tool…

Nothing you enter here is sent anywhere. There is no file and no request to our server - the work is done in your browser and disappears when you close the page.

How It Works

  1. Paste — Type or paste your text into the box above.
  2. Configure — Choose the transformation you want.
  3. Run — Press the action button; the counters update as you type.
  4. Take it — Copy the result or download it as a file.

Frequently Asked Questions

Which Markdown is supported?
The common structural subset: ATX headings, paragraphs, emphasis, strong, inline code, fenced code blocks, links, images, ordered and unordered lists, blockquotes and horizontal rules. Tables, footnotes and raw HTML inside Markdown are not converted — they are escaped so nothing executes.
Is the generated HTML safe to embed?
Output is escaped and no raw HTML passes through from the input, so script content cannot survive the conversion. Review it as you would any untrusted markup before putting it in a page.