Text formatting tools

Text Formatter

List to HTML

Input

Mode

Heading style

Text options

Output

  • If text starts with a dash, it is converted to a list item.
  • This allows you to create lists quickly.
  • Just paste your text and get clean HTML output.
  • List items can also start with an asterisk at the beginning of line.
<ul><li>If text starts with a dash, it is converted to a list item.</li><li>This allows you to create lists quickly.</li><li>Just paste your text and get clean HTML output.</li><li>List items can also start with an asterisk at the beginning of line.</li></ul>

API Call Example

curl -X POST "https://api.textformatter.pro/v1/format" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  --data-binary @- <<'JSON'
{
  "text": "- If text starts with a dash, it is converted to a list item.\n- This allows you to create lists quickly.\n- Just paste your text and get clean HTML output.\n* List items can also start with an asterisk at the beginning of line.",
  "mode": "web",
  "output": "html",
  "options": {
    "detectHeadings": false,
    "detectLists": true,
    "detectColonLabels": false
  },
  "transforms": {}
}
JSON

Response shape

{
  "data": {
    "output": "<p>...</p>",
    "format": "html"
  },
  "meta": {
    "wordsProcessed": 42
  }
}
Request payload
{
  "text": "- If text starts with a dash, it is converted to a list item.\n- This allows you to create lists quickly.\n- Just paste your text and get clean HTML output.\n* List items can also start with an asterisk at the beginning of line.",
  "mode": "web",
  "output": "html",
  "options": {
    "detectHeadings": false,
    "detectLists": true,
    "detectColonLabels": false
  },
  "transforms": {}
}

Don't have an API key yet?

Get one and start formatting thousands of words with no charges.