LZ-String コンプレッサー
圧縮 · 無料オンラインツール
URL/LocalStorage の短いテキスト向け lz-string 圧縮/展開。
Click "Compress" to run...純粋な JavaScript
完全に JS で実行 — CompressionStream のない古いブラウザを含む任意のブラウザで動作。
ストレージに最適
大きな JSON を localStorage、Cookie、短縮 URL に詰め込むのに最適。
Base64 出力
出力は JSON、URL、テキストフィールドに安全に埋め込めます。
LZ-String コンプレッサーの使い方
- 1Enter or paste the text you want to compress.
- 2Select the compression algorithm (gzip, deflate, or brotli).
- 3Click compress to reduce the data size.
- 4Copy or download the compressed output.
機能と特徴
- ✓完全無料 — 登録不要、サブスクリプションなし、広告なし
- ✓ブラウザ上で完全に動作 — データは端末から送信されません
- ✓高速・軽量 — 即座に結果を表示
- ✓クロスプラットフォーム — デスクトップ・タブレット・モバイル対応
よくある質問
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.
Can I decompress data produced by other software?
Yes. The decompression tools accept standard gzip, deflate, and brotli streams from any compliant source — command-line tools, web servers, or other libraries.
Why does the compressed output look unreadable?
Compressed data is binary, not text. Use Copy as Base64 or download it as a file — pasting raw compressed bytes into a text field will show garbled characters.
関連ツール
LZUTF-8 コンプレッサー
UTF-8 テキストに最適化された LZUTF-8 圧縮/展開。
LZMA コンプレッサー
LZMA/LZMA2 の高圧縮率圧縮と展開。
LZ4 デコンプレッサー
LZ4 形式の展開(lz4js)、高速展開を実現。
LZW コンプレッサー
LZW 辞書圧縮/展開(古典的な GIF アルゴリズム)。
LZ77 コンプレッサー
学習用の LZ77 スライディングウィンドウ圧縮/展開。
連長圧縮エンコーダ
繰り返し文字を含むデータ向け RLE ランレングス符号化。
ハフマンエンコーダ
出現頻度に基づく Huffman 符号化による圧縮/展開。
Brotli デコンプレッサー
DecompressionStream を使用して Brotli ストリームを展開。