Text to HTML
Turn plain text into safe HTML: escapes <, >, & and quotes, and creates paragraphs and line breaks.
How to use: Text to HTML
- Paste the plain text.
- Choose <p> paragraphs, <br> line breaks and whether you want a full HTML document.
- Copy the code or download the .html.
What it accepts and what you get
- Input
- Plain text.
- Output
- HTML code with <, >, &, quotes and apostrophes escaped.
- Where your data is processed
- Your data is processed in your browser and is not sent to our servers.
Limitations and notes
- The code is shown, never run on this page.
- To convert formatted Markdown use “Markdown to HTML”.
Suggested next steps
- Available
HTML to text
Extract the readable text from HTML, without tags, scripts or styles, with optional link URLs. Runs in your browser.
AvailableIn your browser - Available
Markdown to HTML
Convert Markdown into clean, sanitised HTML with preview and source. No scripts or active content.
AvailableIn your browser
Related tools
- Available
HTML to text
Extract the readable text from HTML, without tags, scripts or styles, with optional link URLs. Runs in your browser.
AvailableIn your browser - Available
Markdown to HTML
Convert Markdown into clean, sanitised HTML with preview and source. No scripts or active content.
AvailableIn your browser - Available
URL encoder & decoder
Percent-encode and decode URLs and query strings, and inspect their parts.
AvailableIn your browser - Available
Word counter
Count words, characters, sentences and paragraphs instantly.
AvailableIn your browser

