L0ss
Lossy compression service for 11 file types (JSON, CSV, SQL, JS, HTML, CSS, SVG, XML, YAML, Markdown, Text) using proven techniques from SVGO, tdewolff/minify, and CSSO.
Cost / License
- Free
- Proprietary
Platforms
- Online
L0ss
Features
Properties
- Privacy focused
Features
- Ad-free
- File Compression
Tags
- SVG
- Api
- development
- Web Development
- system-utilities
- minifier
- lossy-compression
- JSON
- Developer Tools
- Javascript
L0ss information
What is L0ss?
L0ss is a privacy-first file compression service specializing in lossy compression across 11 file formats. Unlike traditional tools that focus on a single format, L0ss provides a unified solution for developers working with multiple file types.
Supported Formats & Compression:
- JSON (58%) - Frequency-based key compression, null removal, duplicate deduplication
- JavaScript (68%) - Comment removal, console.log stripping, whitespace optimization
- SQL (70%) - Alias shortening, keyword removal, INSERT combining, schema stripping
- SVG (79%) - SVGO-based path optimization, attribute cleanup, empty element removal
- HTML (45%) - tdewolff/minify techniques: DOCTYPE normalization, attribute optimization
- CSS (48%) - CSSO-inspired: property merging, selector deduplication, zero unit removal
- CSV (30-50%) - Delta encoding, dictionary encoding, column removal, numeric rounding
- XML/YAML (10-35%) - Tag shortening, attribute optimization, whitespace removal
- Markdown (10-25%) - Link simplification, comment removal, header cleanup
- Text (5-15%) - Whitespace normalization, duplicate line removal
Key Features:
Preview Before Compressing: Upload files to see side-by-side comparisons of all three levels. View exact byte counts, reduction percentages, and detailed diffs before committing.
Configurable Options: Customize compression per file type - enable/disable specific optimizations like delta encoding, dictionary encoding, comment removal, or console.log stripping.
Recovery Manifests: Download JSON manifests showing exactly what operations were performed, reversibility status, and file integrity hashes.
Privacy-First:
- No accounts or tracking
- 24-hour auto-deletion
- AES-256 encrypted storage (Cloudflare R2)
- GDPR/CCPA compliant
REST API:
- POST /api/compress - Single file compression
- POST /api/compress/batch - Up to 10 files at once
- POST /api/analyze - Preview without storing
- GET /api/download/:fileId - Download compressed files
- GET /api/manifest/:manifestId - Download recovery manifests
Batch Operations: Compress multiple files in one request with aggregate statistics (total processed, average reduction, success/failure counts).
Live Benchmarks (Verifiable):
- JavaScript: 6,169 ? 2,291 bytes (62.86%)
- JSON: 4,700 ? 1,974 bytes (58%)
- CSV: 1,130 ? 597 bytes (47.17%)
Technical Foundation: Built using proven techniques from SVGO, tdewolff/minify, CSSO, Gorilla (delta encoding), and BtrBlocks (dictionary encoding). Full attribution in documentation.
Use Cases: Development (reduce bundle sizes), testing (lightweight fixtures), data transfer (compress API payloads), storage (minimize costs), documentation compression.
Limits: 10 requests/hour per IP, 10MB max per file, up to 10 files per batch. No authentication required.
Built on Cloudflare Workers for global edge deployment with sub-100ms response times. Try now at https://l0ss.com - no signup required.