Text formatting tools

Text Formatter

Company + Address

Input

Mode

Heading style

Text options

Output

TextFormatter LTD

Registered office: Manhattan: 721 Broadway, New York, NY 10003, USA

Company ID: 123456789

VAT ID: US123456789

<h2>TextFormatter LTD</h2>
<p><strong>Registered office:</strong> Manhattan: 721 Broadway, New York, NY 10003, USA</p>
<p><strong>Company ID:</strong> 123456789</p>
<p><strong>VAT ID:</strong> US123456789</p>

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": "TextFormatter LTD\n\nRegistered office: Manhattan: 721 Broadway, New York, NY 10003, USA\nCompany ID: 123456789\nVAT ID: US123456789",
  "mode": "web",
  "output": "html",
  "options": {
    "headingStyle": "h2",
    "detectHeadings": true,
    "detectLists": false,
    "detectColonLabels": true
  },
  "transforms": {}
}
JSON

Response shape

{
  "data": {
    "output": "<p>...</p>",
    "format": "html"
  },
  "meta": {
    "wordsProcessed": 42
  }
}
Request payload
{
  "text": "TextFormatter LTD\n\nRegistered office: Manhattan: 721 Broadway, New York, NY 10003, USA\nCompany ID: 123456789\nVAT ID: US123456789",
  "mode": "web",
  "output": "html",
  "options": {
    "headingStyle": "h2",
    "detectHeadings": true,
    "detectLists": false,
    "detectColonLabels": true
  },
  "transforms": {}
}

Don't have an API key yet?

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