create

URL Shorten (Local)

Deterministic local URL shortener. SHA-256 the URL, base32-encode the digest, truncate to a slug. No server, no database — same URL always produces the same slug, so two clients can mint matching short links without coordination. Optional QR PNG of the short URL.

Loading…

About URL Shorten (Local)

URL Shorten (Local) makes a short slug from any URL by hashing it with SHA-256 and base32-encoding the digest, with no server and no database involved. Because it is deterministic, the same URL always produces the same slug, so two people can mint matching short links without ever talking to each other. Reach for it when you want short-link behavior that is private and reproducible rather than tied to a hosted service.

Category
create
Input
Accepts: */*.
Output
Outputs: application/json (multiple).
Cost
Free, runs in your browser
Memory
low
Privacy: URL Shorten (Local) runs entirely on your device. Files you provide never leave your browser — no uploads, no server, no tracking. The page works offline once loaded.

Common uses

  • Generating a stable slug for a long URL that two systems can both compute independently and agree on
  • Creating a deduplication key for links, since identical URLs collapse to the same slug
  • Producing a short, shareable token offline without signing up for a link-shortening service
  • Minting an optional QR PNG of the short URL to drop into a flyer or slide
  • Building consistent short identifiers in an air-gapped or privacy-sensitive environment
  • Avoiding vendor lock-in from hosted shorteners that can expire or rate-limit your links

Frequently asked questions

Does this create a real redirect?

No. It generates a deterministic slug from the URL; you supply your own redirect mapping. There is no hosted lookup table.

Why is it deterministic?

The slug comes from a SHA-256 hash of the URL, base32-encoded and truncated, so the same input always yields the same slug across machines without coordination.

Is my URL uploaded?

No. Hashing and encoding happen in your browser; no server or database sees the link.

Can I get a QR code too?

Yes. There is an optional QR PNG of the short URL so you can share it visually.

What input does it take?

Any text, typically a URL. The output is JSON containing the slug and details.

Keywords

  • url
  • shorten
  • short
  • link
  • slug
  • qr
  • local
  • hash

Try next