SafeSlugSafeSlug
Open-Source · Privacy-First URL Shortener

Short links with encrypted destinations & slugs.

Create fast, memorable short links encrypted with AES-256-GCM and zero raw IP logging. Sign in for AI slug suggestions, custom branded links, privacy-first analytics, and CLI access.

Custom
Length:7 chars
Zero raw IP logs
AES-256-GCM at rest
No-referrer redirects
AI smart slugs & CLI

Core architecture

Engineered for privacy and clarity.

How it works

Four steps to a clean link.

01

Paste the destination

Drop in any long URL and SafeSlug validates and encrypts the destination without requiring an account.

02

Pick the slug style

Use random codes for speed, passphrases for verbal readability, or sign in for custom and AI-suggested names.

03

Share a clearer link

Send a short URL that can be read aloud, recognized in context, and redirected with no-referrer privacy.

04

Measure without over-collecting

Review visits, referrers, countries, and device mix in your dashboard or CLI without storing raw IP addresses.

Feature breakdown

Why SafeSlug stands out.

Comparison of SafeSlug privacy, encryption, slug customization, AI suggestions, and CLI features against legacy URL shorteners and branded link tools
CapabilitySafeSlugLegacy shortenersBranded link tools
AES-256-GCM URL & slug encryption at restYesNoNo
Zero raw IP logging & no-referrer redirectsYesNoPartial or paid add-on
Memorable multi-word passphrase slugsYesNoNo
AI-powered smart slug suggestionsYesNoPartial or paid add-on
Official developer CLI with JSON outputYesNoPartial or paid add-on
Free tier with no account requiredYesYesNo

Common questions

Everything you need to know.

What makes SafeSlug different from Bitly, TinyURL, and typical URL shorteners?

Traditional URL shorteners store destination links in plaintext and often log visitor IP addresses or tracking cookies. SafeSlug encrypts both destination URLs and slugs at rest with AES-256-GCM, uses keyed HMAC-SHA256 hashes for lookups, sends Referrer-Policy: no-referrer on redirects, and never stores raw visitor IP addresses.

How does SafeSlug encrypt destination URLs and slugs at rest?

Before saving to the database, SafeSlug encrypts the target URL and slug server-side using Web Crypto AES-256-GCM and stores only ciphertext alongside a keyed HMAC-SHA256 lookup hash. Destinations are decrypted in volatile memory only when serving a redirect.

Can I create custom short links instead of random codes?

Yes. Anyone can generate compact random slugs (4–12 characters) or readable multi-word passphrase slugs (2–5 words) without an account. Signing in unlocks exact custom vanity slugs up to 30 characters.

Does SafeSlug track link clicks without logging IP addresses?

Yes. Signed-in users get an analytics dashboard showing aggregate visit counts, top referrer hostnames, 2-letter country codes, and general device categories (desktop, mobile, tablet) with zero raw IP retention and no redirect tracking cookies.

Do I need an account, and is SafeSlug free to use?

SafeSlug is free to use. You can create random or memorable passphrase short links immediately without signing in, and creating a free account unlocks custom slugs, AI slug suggestions, saved link management, analytics, and CLI access.

How does the AI smart slug generator work?

For signed-in users, SafeSlug inspects the destination page's title and description metadata to suggest concise, human-readable slugs like /api-auth-docs or /launch-deck that you can apply or edit in one click.

Can I shorten and manage links from my terminal or CI scripts?

Yes. Install the official MIT-licensed CLI via `npm install -g @safeslug/cli`, authenticate with `safeslug auth login`, and run `safeslug shorten <url> --custom <slug> --json` from any terminal or automation workflow.

Ready for readable, encrypted links?

Start shortening URLs immediately without sign-in, or create a free account to unlock AI smart slugs, custom vanity URLs, CLI access, and zero-IP dashboard analytics.