URL Shortener Demo
Test the client-side URL compression for calculator share links
Test Calculator State Compression
How It Works
1
Key Abbreviation
Common calculator field names are abbreviated (e.g., "currentAge" → "ca", "retirementAge" → "ra")
2
Base64 Encoding
The abbreviated JSON is encoded to URL-safe base64 format
3
Single Parameter
All calculator state is passed as one short parameter (?s=...) instead of many long parameters
✓
Result
URLs are typically 50-70% shorter while preserving all calculator data