When you hit "Copy share link" on any FerrLens tool, the URL used to look like #left= — readable, but enormous for anything text-heavy (diff, JSON formatter, JWT decoder routinely produced 5-10 KB URLs that bumped against browser limits).
The fragment is now a single lz-string-compressed JSON blob: #N4IgDghgLlC.... Same data, packed.
Real numbers from the diff tool:
| Input | Old fragment | New fragment | Saving |
|---|---|---|---|
| 1 KB (two code snippets) | 1,409 chars | 886 chars | -37% |
| 3.3 KB (markdown doc + edits) | 4,020 chars | 2,686 chars | -33% |
Bigger inputs compress proportionally better — at 10+ KB you're typically saving more than half. Two side benefits:
\n used to be 3 bytes, every accented char 6-9).Old share links keep working. The hook detects the legacy ?key=value format on load, parses it, and rewrites to the compressed form on your first edit — so existing bookmarks don't break.