Text formatting tools

Text Formatter

Product Ingredients

Input

Mode

Heading style

Text options

Output

Ingredients 1 tablet (1000 mg)

Terminalia chebula* (Haritaki) 358 mg, Emblica officinalis* (Amalaki) 358 mg, Terminalia belerica* (Bibhitaki) 199 mg, Rosa centifolia* 70 mg, starch tapioca*

* from organic farming

Warning: Do not exceed the recommended daily dosage.

The supplement is not intended as a substitute for a varied diet. Not suitable for children, pregnant and lactating women. Keep out of reach of children, in a dry and dark place. We do not recommend using it for diarrhea.

<p><strong>Ingredients 1 tablet (1000 mg)</strong></p>
<p>Terminalia chebula* (Haritaki) 358 mg, Emblica officinalis* (Amalaki) 358 mg, Terminalia belerica* (Bibhitaki) 199 mg, Rosa centifolia* 70 mg, starch tapioca*</p>
<p>* from organic farming</p>
<p><strong>Warning:</strong> Do not exceed the recommended daily dosage.</p>
<p>The supplement is not intended as a substitute for a varied diet. Not suitable for children, pregnant and lactating women. Keep out of reach of children, in a dry and dark place. We do not recommend using it for diarrhea.</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": "Ingredients 1 tablet (1000 mg)\n\nTerminalia chebula* (Haritaki) 358 mg, Emblica officinalis* (Amalaki) 358 mg, Terminalia belerica* (Bibhitaki) 199 mg, Rosa centifolia* 70 mg, starch tapioca* *from organic farming Warning: Do not exceed the recommended daily dosage.\n\nThe supplement is not intended as a substitute for a varied diet. Not suitable for children, pregnant and lactating women. Keep out of reach of children, in a dry and dark place. We do not recommend using it for diarrhea.",
  "mode": "ecommerce",
  "output": "html",
  "options": {
    "detectHeadings": true,
    "detectLists": false,
    "detectColonLabels": true,
    "splitAfterSentenceEnd": false,
    "nutritionBlockParsing": false
  },
  "transforms": {}
}
JSON

Response shape

{
  "data": {
    "output": "<p>...</p>",
    "format": "html"
  },
  "meta": {
    "wordsProcessed": 42
  }
}
Request payload
{
  "text": "Ingredients 1 tablet (1000 mg)\n\nTerminalia chebula* (Haritaki) 358 mg, Emblica officinalis* (Amalaki) 358 mg, Terminalia belerica* (Bibhitaki) 199 mg, Rosa centifolia* 70 mg, starch tapioca* *from organic farming Warning: Do not exceed the recommended daily dosage.\n\nThe supplement is not intended as a substitute for a varied diet. Not suitable for children, pregnant and lactating women. Keep out of reach of children, in a dry and dark place. We do not recommend using it for diarrhea.",
  "mode": "ecommerce",
  "output": "html",
  "options": {
    "detectHeadings": true,
    "detectLists": false,
    "detectColonLabels": true,
    "splitAfterSentenceEnd": false,
    "nutritionBlockParsing": false
  },
  "transforms": {}
}

Don't have an API key yet?

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