LZString 壓縮

使用 LZString 壓縮 處理輸入並產生壓縮或封存資料。

輸入: 文本結果: 文本

文本輸入

工具選項

範例

A newline-delimited weather reading

The inverse check preserves every original byte, including the final newline. Base64 carries compressed UTF-16 data safely as ordinary text.

輸入

station=demo
celsius=-12.5

Expected checks

LZString Decompress recovers:
73746174696f6e3d64656d6f0a63656c736975733d2d31322e350a
壓縮格式
Base64
A small release manifest

The inverse check preserves every original byte, including the final newline. Base64 carries compressed UTF-16 data safely as ordinary text.

輸入

release=2.1.0
artifact=demo.tar.gz

Expected checks

LZString Decompress recovers:
72656c656173653d322e312e300a61727469666163743d64656d6f2e7461722e677a0a
壓縮格式
Base64
A repeated status log

The inverse check preserves every original byte, including the final newline. Base64 carries compressed UTF-16 data safely as ordinary text.

輸入

ready
ready
ready
ready
ready
ready
ready
ready
ready
ready
ready
ready
ready
ready
ready
ready

Expected checks

LZString Decompress recovers:
72656164790a72656164790a72656164790a72656164790a72656164790a72656164790a72656164790a72656164790a72656164790a72656164790a72656164790a72656164790a72656164790a72656164790a72656164790a72656164790a
壓縮格式
Base64
An HTTP-like JSON event

The inverse check preserves every original byte, including the final newline. Base64 carries compressed UTF-16 data safely as ordinary text.

輸入

{"event":"deploy","project":"demo","ready":true}

Expected checks

LZString Decompress recovers:
7b226576656e74223a226465706c6f79222c2270726f6a656374223a2264656d6f222c227265616479223a747275657d
壓縮格式
Base64
A comma-and-quote CSV row

The inverse check preserves every original byte, including the final newline. Base64 carries compressed UTF-16 data safely as ordinary text.

輸入

city,note
Paris,"rain, then sun"

Expected checks

LZString Decompress recovers:
636974792c6e6f74650a50617269732c227261696e2c207468656e2073756e220a
壓縮格式
Base64
A release identifier

輸入

RELEASEONE

Expected checks

LZString Decompress recovers:
52454c454153454f4e45
壓縮格式
Base64
A sensor label

輸入

SENSORWEST

Expected checks

LZString Decompress recovers:
53454e534f5257455354
壓縮格式
Base64
A telescope target

輸入

MOONPHASES

Expected checks

LZString Decompress recovers:
4d4f4f4e504841534553
壓縮格式
Base64
A toy puzzle clue

輸入

FOLLOWBIRD

Expected checks

LZString Decompress recovers:
464f4c4c4f5742495244
壓縮格式
Base64
An archive marker

輸入

ARCHIVEDOC

Expected checks

LZString Decompress recovers:
41524348495645444f43
壓縮格式
Base64

参數

参數默認值輸入與選項
壓縮格式defaultdefault, UTF16, Base64

相关工具

壓縮

操作参考

查看原始技术文檔 (English)