Elysia Tools Docs
EN
Language
ZHESPTRUFRDEEN
Back to site
Browse tools

Text Processing

Number Format Cleaner

Normalize and clean various number formats in text for consistency

text· Text resultOpen tool

Quick start

Call this tool from your code in three languages.

cURL
curl -X POST 'https://api.elysiatools.com/en/api/tools/number-format-cleaner' \
  -H 'Content-Type: application/json' \
  -d '{"textInput":"Enter or paste your text with various number formats here...\n\nExamples of mixed formats:\n1,234.56 and 1.234,56 and 1,234 and 1 234.56\n$1,234.56 and €1,234,56 and ¥1,234\n1234.56% and 1.2% and 1 234%\n1,234,567.89 and 1,234,567.89","targetFormat":"en_standard","customThousandsSep":"e.g., comma (,) or space ( ) or dot (.)","customDecimalSep":"e.g., dot (.) or comma (,)","removeCurrencySymbols":true,"normalizeSpaces":true,"outputFormat":"cleaned"}'

© 2026 Elysia Tools. Developer documentation.

Back to siteBrowse tools

API reference

Send a POST request with your inputs as JSON. File parameters require a separate upload first.

Endpoint

HTTP
POST https://api.elysiatools.com/en/api/tools/number-format-cleaner

Parameters

NameTypeRequiredDescription
textInputtextareaYes—
targetFormatselectYes—
customThousandsSeptextNoOnly used when "Custom Format" is selected
customDecimalSeptextNoOnly used when "Custom Format" is selected
removeCurrencySymbolscheckboxNoRemove all currency symbols from numbers
normalizeSpacescheckboxNoRemove spaces within numbers (1 234 → 1234)
outputFormatselectYes—

Response format

Text result

JSON
{
  "result": "Processed text content",
  "error": "Error message (optional)",
  "message": "Notification message (optional)",
  "metadata": {
    "key": "value"
  }
}

MCP integration

Add this tool to your Model Context Protocol server so AI agents can list and call it.

Server configuration

Add this block to your MCP client configuration:

mcp.json
{
  "mcpServers": {
    "elysiatools-number-format-cleaner": {
      "name": "number-format-cleaner",
      "description": "Normalize and clean various number formats in text for consistency",
      "baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=number-format-cleaner",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

List available tools

After connecting to the SSE endpoint, list the exposed tools:

tools/list
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/list"
}

Call this tool

Invoke the tool by its id, passing arguments built from its parameters:

tools/call
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "number-format-cleaner",
    "arguments": {
  "textInput": "Enter or paste your text with various number formats here...\n\nExamples of mixed formats:\n1,234.56 and 1.234,56 and 1,234 and 1 234.56\n$1,234.56 and €1,234,56 and ¥1,234\n1234.56% and 1.2% and 1 234%\n1,234,567.89 and 1,234,567.89",
  "targetFormat": "en_standard",
  "customThousandsSep": "e.g., comma (,) or space ( ) or dot (.)",
  "customDecimalSep": "e.g., dot (.) or comma (,)",
  "removeCurrencySymbols": true,
  "normalizeSpaces": true,
  "outputFormat": "cleaned"
}
  }
}
Chain multiple tools in one session with a comma-separated toolId list, e.g. /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp (max 20).

Questions or issues? Contact [email protected]

Browse tools
Open tool