📃

Text to HTML List

Convert lines of text into ul or ol HTML markup

📝 Text ToolsFreeRuns in your browser

Text is HTML-escaped, so angle brackets and ampersands in your items stay visible instead of breaking the markup.

About the Text to HTML List

The Text to HTML List tool turns pasted lines into a ready-to-paste unordered or ordered list. Escaping is handled for you, so punctuation and angle brackets survive the trip into markup.

Pasting a list into a CMS often produces a wall of paragraphs. Converting it to real list markup keeps the structure accessible and makes styling predictable across themes.

  • ✓ul and ol output
  • ✓Optional class attribute
  • ✓HTML-escaped item text

How to use the Text to HTML List

  1. 1

    Paste one list item per line.

  2. 2

    Choose an ordered or unordered list.

  3. 3

    Copy the generated HTML.

Frequently asked questions

Can I nest sub-lists?+

Not directly. Indent the sub-items in your source, generate separate lists, and nest them by hand in the parent list item.

Why are my angle brackets escaped?+

Escaping keeps the markup valid. If you wrote a literal less-than sign, it appears as < in the HTML and renders correctly in the browser.

Save Text to HTML List to your favorites, or keep browsing text tools.

Browse all 35 text tools →