Remove All Empty Lines
Quickly delete all blank lines from text
API Documentation
Request Endpoint
POST /en/api/tools/text-empty-lines-remover
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| textInput | textarea | Yes | - |
| removeType | select | Yes | - |
| preserveStructure | checkbox | No | Keep at least one empty line between sections when removing consecutive lines |
| trimLines | checkbox | No | Remove leading/trailing whitespace from all lines |
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-text-empty-lines-remover": {
"name": "text-empty-lines-remover",
"description": "Quickly delete all blank lines from text",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=text-empty-lines-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]