lzstring Python Library

JSON →
library 1.0.4 ·python
verified May 24, 2026

lzstring is a Python port of the JavaScript lz-string library, providing efficient in-memory compression and decompression of strings. It supports various encoding formats like Base64, UTF16, and raw binary, making it suitable for compact data storage or transfer, especially when interoperating with JavaScript applications. The current version is 1.0.4, and the library is mature and stable with infrequent updates.

total hits 21
actors 8 distinct systems
last hit 20h ago ByteDance
ByteDance
6
MetaBot
4
GPTBot
2
Script
2
ClaudeBot
1
Search engines
1

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇩🇪 Germany · 🇳🇱 Netherlands