← Back to Home

Sample Files for Testing

Download these carefully crafted sample files to test L0ss compression capabilities. Each file is designed to showcase specific compression features and demonstrate realistic compression ratios you can expect with your own data.

sample-json.json
JSON

User database export with nested objects, repeated keys, and structured data. Perfect for demonstrating frequency-based key compression.

  • 5 user records with consistent schema
  • Repeated field names (firstName, lastName, emailAddress, etc.)
  • Nested preferences and metadata objects
  • Long key names ideal for compression
Expected Reduction
~58%
File Size
4.7 KB
Download JSON
sample-csv.csv
CSV

E-commerce order data with 13 records and 17 columns. Includes duplicate data, long text fields, and numeric values with unnecessary precision.

  • Repeated city/state values (low-variance columns)
  • Long text in notes column (truncation candidate)
  • Precise decimal values (rounding opportunity)
  • Consistent data structure across rows
Expected Reduction
~21%
File Size
2.77 KB
Download CSV
sample-sql.sql
SQL

Complete database schema with CREATE statements, INSERT statements, and complex queries. Features verbose syntax, comments, and transaction blocks.

  • Single-line and multi-line comments
  • Multiple consecutive INSERT statements (merge candidate)
  • Long table aliases (user_table, product_catalog, etc.)
  • Optional keywords (OUTER, PUBLIC, CASCADE)
  • Schema changes (CREATE, DROP, ALTER)
Expected Reduction
43-65%
File Size
5.12 KB
Download SQL
sample-javascript.js
JS

Shopping cart class with extensive comments, JSDoc documentation, and verbose code. Demonstrates JavaScript minification and comment removal.

  • Single-line and multi-line comments
  • JSDoc documentation blocks
  • Console.log statements (removal candidate)
  • Whitespace-heavy formatting
  • Long variable and function names
Expected Reduction
~68%
File Size
4.73 KB
Download JS
sample-html.html
HTML

Product page with verbose DOCTYPE, redundant attributes, and formatted markup. Perfect for testing HTML5 minification techniques.

  • Verbose HTML 4.01 DOCTYPE (normalization candidate)
  • type="text/javascript" and type="text/css" (default removals)
  • Boolean attributes with values (disabled="disabled")
  • Whitespace-heavy formatting
  • Meta tags and inline styles
Expected Reduction
~35%
File Size
4.35 KB
Download HTML
sample-svg.svg
SVG

Complex butterfly graphic with intricate line patterns and paths. Perfect for testing SVG path optimization and compression.

Butterfly SVG
  • Complex path data with thousands of points
  • Verbose DOCTYPE and XML declarations
  • Numeric precision optimization opportunities
  • Large file size ideal for demonstrating SVG compression
Expected Reduction
~32%
File Size
65.49 KB
Download SVG
💡 How to Use These Files: Download any sample file, then upload it to the L0ss homepage to see real-time compression previews. Try adjusting the compression options to see how different settings affect the results. Each file is carefully designed to showcase specific compression features documented in our compression guide.