Remove BOM (Byte Order Mark) characters from text and file content. Perfect for cleaning up text files that have encoding issues, fixing CSV imports, and preparing data for processing.
Features:
- Detect and remove UTF-8 BOM (EF BB BF)
- Detect and remove UTF-16 BOM (FE FF or FF FE)
- Detect and remove UTF-32 BOM (00 00 FE FF or FF FE 00 00)
- Support multiple input formats
- Visual BOM character display
- Detailed detection report
- Support for batch text processing
Common Use Cases:
- Fix CSV file import errors
- Clean up text file encoding issues
- Prepare data for JSON parsing
- Fix XML parsing problems
- Resolve API data encoding conflicts
- Standardize text data format
text· Text result
Quick start
Call this tool from your code in three languages.
cURL
curl -X POST 'https://api.elysiatools.com/en/api/tools/data-bom-remover' \
-H 'Content-Type: application/json' \
-d '{"textContent":"Paste your text content here...\nText may include invisible BOM characters at the beginning that cause encoding issues.","detectionMode":"all","showBomChars":true,"outputFormat":"cleaned"}'
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-data-bom-remover": {
"name": "data-bom-remover",
"description": "Remove BOM (Byte Order Mark) characters from text and file content. Perfect for cleaning up text files that have encoding issues, fixing CSV imports, and preparing data for processing.\n\nFeatures:\n- Detect and remove UTF-8 BOM (EF BB BF)\n- Detect and remove UTF-16 BOM (FE FF or FF FE)\n- Detect and remove UTF-32 BOM (00 00 FE FF or FF FE 00 00)\n- Support multiple input formats\n- Visual BOM character display\n- Detailed detection report\n- Support for batch text processing\n\nCommon Use Cases:\n- Fix CSV file import errors\n- Clean up text file encoding issues\n- Prepare data for JSON parsing\n- Fix XML parsing problems\n- Resolve API data encoding conflicts\n- Standardize text data format",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=data-bom-remover",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}
List available tools
After connecting to the SSE endpoint, list the exposed tools:
Invoke the tool by its id, passing arguments built from its parameters:
tools/call
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "data-bom-remover",
"arguments": {
"textContent": "Paste your text content here...\nText may include invisible BOM characters at the beginning that cause encoding issues.",
"detectionMode": "all",
"showBomChars": true,
"outputFormat": "cleaned"
}
}
}