Empty Line Remover
Remove all empty lines from text (lines with no content)
API Documentation
Request Endpoint
POST /en/api/tools/empty-line-remover
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| textInput | textarea | Yes | - |
| removeMode | select | Yes | - |
| preserveCount | number | No | When mode is "preserve", keep this many consecutive empty lines |
| trimFirst | checkbox | No | Remove empty lines at the beginning of the text |
| trimLast | checkbox | No | Remove empty lines at the end of the text |
Response Format
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}
Text:
Text
AI MCP Documentation
Add this tool to your MCP server configuration:
{
"mcpServers": {
"elysiatools-empty-line-remover": {
"name": "empty-line-remover",
"description": "Remove all empty lines from text (lines with no content)",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=empty-line-remover",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}
You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.
If you encounter any issues, please contact us at [email protected]