分类

文本数据压缩器

高级文本压缩工具,支持RLE、LZ77、Huffman编码等多种压缩算法

输入任何需要使用各种算法压缩的文本内容

选择要使用的压缩算法

选择压缩输出的编码方式

包含压缩统计和算法详情

API 文档

请求端点

POST /zh/api/tools/text-data-compressor

请求参数

参数名 类型 必填 描述
text textarea 输入任何需要使用各种算法压缩的文本内容
algorithm select 选择要使用的压缩算法
encoding select 选择压缩输出的编码方式
includeStats checkbox 包含压缩统计和算法详情

响应格式

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

AI MCP 文档

将此工具添加到您的 MCP 服务器配置中:

{
  "mcpServers": {
    "elysiatools-text-data-compressor": {
      "name": "text-data-compressor",
      "description": "高级文本压缩工具,支持RLE、LZ77、Huffman编码等多种压缩算法",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=text-data-compressor",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

你可以串联多个工具,比如:`https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`,最多20个。

如果遇见问题,请联系我们:[email protected]