Text Compressor
Text compression/decompression with URL-safe, Base64, and UTF-16 formats, fully local.
Input
Chars: 0Bytes: 0
Output
Chars: 0Bytes: 0
About This Tool
This tool uses the LZ-String algorithm to compress or decompress text and provides URL-safe, Base64, and UTF-16 outputs. It is ideal for sharing long text in URLs, passing configs, or local storage. Real-time results, stats, and one-click copy are included, and everything runs locally for data privacy.
Features
- 🗜️ LZ-String Compression: Shrink long text into shorter strings
- 🔗 Multiple Formats: URL-safe, Base64, and UTF-16 for encoding/decoding
- 📊 Stats Panel: Characters, bytes, and compression ratio
- 🔄 Quick Swap: Swap input and output for reverse processing
- 📋 One-Click Copy: Copy results instantly
- 🛡️ Local Processing: No uploads, privacy preserved