Developer Tools · free · no sign-up
Text to HTML
Convert plain text into HTML paragraphs.
Text to HTML
Automatically wrap plain text into valid HTML paragraphs and breaks
0
1
About the Text to HTML
Convert plain text into HTML paragraphs.
How to use the Text to HTML
- Paste your plain text or click Load Sample.
- Choose Wrap in <p> tags and Convert newlines to <br> as needed.
- Press Convert to HTML, then Copy or Download.
Worked example
Two paragraphs separated by a blank line become <p>First</p> and <p>Second</p>.
Tips
- Special characters such as < and & are escaped so they display correctly.
Frequently asked questions
When should I use br instead of p?
Use p for paragraphs and br for a line break inside one, such as in an address.