Skip to main content

Compression & Archives

LZString Compressor

Process compressed data with LZString Compress and the selected archive settings. Choose the input and archive options, then download the processed result.

Tool workspace

Your input stays in this browser.

Add the required input to continue.

Needs input

Run the tool when your input is ready.

Drop files here or choose files.

Choose input from this device.

Options

Your result appears here

Process compressed data with LZString Compress and the selected archive settings. Choose the input and archive options, then download the processed result.

This tool runs open-source code from CyberChef by GCHQ (Apache License 2.0). See open-source credits.

LZString Compressor compresses text with the lz-string library.

It returns compressed text. The operation runs in your browser. Processing runs in the browser.

Instructions

  1. Provide file or files for this tool.
  2. Enter text.
  3. Choose the compression format.
  4. Store the result as text without binary decoding.

Example

Input: repeat repeat repeat

Settings: LZString Compressor: Compression format: UTF-16.

Result: It returns compressed text. The operation runs in your browser.

Limits

  • LZString Compressor: The decoder must use the matching format.
  • LZString Compressor: Compression output is not encryption.
  • LZString Compressor: Short or random text may not shrink.