Skip to content
๐Ÿ”ง

LZ4 Decompressor

Compression ยท Free Online Tool

LZ4 format decompression (lz4js) for fast decompression.

By CoderNewbie Team
The browser exposes no LZ4 decoder. This tool detects the LZ4 magic (04 22 4D 18) and reports frame info; if the input is actually gzip, it decompresses it transparently.
212 chars
0 chars
Click "Decompress" to run...

Frame Detection

Sniffs the LZ4 magic bytes and reports the flag/BD descriptor so you know what you have.

Gzip Fallback

If the bytes are actually gzip, decompresses them transparently via DecompressionStream.

WASM Upgrade Path

Tells you exactly which WASM package to add to enable real LZ4 decoding.

How to Use LZ4 Decompressor

  1. 1Enter or paste the text you want to compress.
  2. 2Select the compression algorithm (gzip, deflate, or brotli).
  3. 3Click compress to reduce the data size.
  4. 4Copy or download the compressed output.

Features

  • โœ“100% free โ€” no signup, no subscription, no ads
  • โœ“Runs entirely in your browser โ€” data never leaves your device
  • โœ“Fast and lightweight โ€” instant results
  • โœ“Cross-platform โ€” works on desktop, tablet, and mobile

Frequently Asked Questions

What compression algorithms are supported?

We support gzip, deflate, and brotli compression algorithms for text data.

Is there a file size limit?

Since tools run in your browser, the limit depends on your device memory. Most tools handle several megabytes without issues.

Related Tools

Learn the concept

Learn the concept

Understand the programming ideas behind this tool.