Text to HTML Converter

Convert plain text to HTML with paragraphs, lists and links.

0 words · 0 charactersNot uploaded

Plain text to clean HTML

Turn text from an email, a document or a form into HTML without writing tags by hand:

  • Paragraphs + lists (default): blank lines separate paragraphs (<p>); single line breaks inside a paragraph become <br>; blocks where every line starts with “-”, “*” or “•” become bullet lists, and “1.” lines become numbered lists.
  • Each line a

    : every non-empty line is its own paragraph.

  • Line breaks only: keeps the text as one block with <br> between lines.

Special characters (<, >, &, quotes) are escaped, so text like “5 < 6” or “Tom & Jerry” can’t break your page or inject markup. With Link URLs on, web addresses (including bare ones like example.com) become links.

For formatting such as headings, bold and italics, write Markdown and use the Markdown to HTML Converter instead.

Worked example

Here is what the Text to HTML Converter returns for its built-in example. Settings used: Structure: Paragraphs + lists; Link URLs: on. Click Try an example in the tool above to load it, then change it as you like.

Input
Welcome to our newsletter <3
This month: new tools & faster pages.

- Grammar checker
- Markdown editor

Read more at example.com/news
Output
<p>Welcome to our newsletter &lt;3<br>
This month: new tools &amp; faster pages.</p>
<ul>
  <li>Grammar checker</li>
  <li>Markdown editor</li>
</ul>
<p>Read more at <a href="https://example.com/news">example.com/news</a></p>

Related tools: Markdown to HTML Converter, HTML Entity Encoder/Decoder.

Questions

How do I add paragraph tags to text?

Paste the text with blank lines between paragraphs; each paragraph is wrapped in

tags.

Are special characters escaped?

Yes. <, >, &, and quotes are converted to HTML entities.

Last reviewed · How Textkiln tools work