首页Home › 编码与加密Encoding & Crypto
🗜️ Zlib 压缩 / 解压Zlib Compress / Decompress
用 pako 做 zlib deflate / inflate;输入输出支持 UTF-8、Base64、Hex。可设置「操作」、「输入」、「输出」。zlib deflate / inflate via pako; UTF-8, Base64 or Hex in and out. Settings: Action, Input, Output.
使用说明与常见问题How-to & FAQ
「Zlib 压缩 / 解压」是什么?What is the Zlib Compress / Decompress tool?
用 pako 做 zlib deflate / inflate;输入输出支持 UTF-8、Base64、Hex。可设置「操作」、「输入」、「输出」。zlib deflate / inflate via pako; UTF-8, Base64 or Hex in and out. Settings: Action, Input, Output.
如何使用「Zlib 压缩 / 解压」?How do I use the Zlib Compress / Decompress tool?
在「操作」中选择压缩(deflate)或解压(inflate),在「输入」和「输出」中选择 UTF-8 文本、Base64 或 Hex,粘贴内容后点「运行」,再点「复制」即可。Choose deflate or inflate under Action, pick UTF-8 text, Base64 or Hex for the Input and Output, paste the data and click Run, then Copy the result.
原始 deflate?Raw deflate?
本页使用 zlib 包装(含头尾),不是 raw deflate。This page uses zlib wrapping (headers), not raw deflate.
有哪些选项可以调整?What options can I adjust?
「Zlib 压缩 / 解压」的设置:「操作」可选 压缩、解压(默认 压缩);「输入」可选 UTF-8、Base64、Hex(默认 UTF-8);「输出」可选 Base64、Hex、UTF-8(默认 Base64)。每次生成结果都按当前设置处理。Settings in the Zlib Compress / Decompress — "Action": deflate, inflate (default deflate); "Input": UTF-8, Base64, Hex (default UTF-8); "Output": Base64, Hex, UTF-8 (default Base64). The result always uses the current settings.
编码和加密有什么区别?Is encoding the same as encryption?
编码(如 Base64、URL 编码)可直接还原,不提供保密性;加密需要密钥。「Zlib 压缩 / 解压」的处理全部在本地完成。No. Encoding (Base64, URL…) is reversible by anyone; encryption needs a key. The Zlib Compress / Decompress works fully offline in your browser.
「Zlib 压缩 / 解压」免费吗?需要注册吗?Is the Zlib Compress / Decompress free? Do I need an account?
「Zlib 压缩 / 解压」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Zlib Compress / Decompress is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.