Lossless neural text compression.
Compress a text file or restore the exact original. Everything runs in your browser.
On your device
Your text
UTF-8 textDrop a text file
Files stay on your device.
Your model archive
MODEL + STREAMA model of your words.
Add text on the left. Your download will include the learned weights and lossless stream.
Exact bytes. Verified before download.Lossless, with SHA-256 verificationClient-side processing · No file uploads
THE SAME MODEL, IN YOUR TERMINAL
Encode. Decode.
Every byte, back.
One Python package. Every original byte verified.
Decode uses the model saved in your archive.
Python 3.10+
# Install Neuralzip
python -m pip install neuralzip# Make a lossless model archive
neuralzip encode notes.txt# Restore the exact original file
neuralzip decode notes.txt.nzipUse the Python API
from neuralzip import encode, decode
original = b"Keep every byte."
archive = encode(original)
assert decode(archive) == originalFirst-time setup: a virtual environment
macOS or Linux:
python3 -m venv .venv
source .venv/bin/activateWindows PowerShell:
py -m venv .venv
.\.venv\Scripts\Activate.ps1Then run the install command above. The package installs the training dependencies for you.