Core architecture
Engineered for privacy and clarity.
Destinations & slugs encrypted
Destination URLs and slugs are encrypted with AES-256-GCM and indexed via keyed HMAC-SHA256 hashes—decrypted in memory only when redirecting.
AI slug suggestions
SafeSlug AI inspects destination titles and metadata to suggest concise, human-readable slugs like /api-docs instead of opaque hashes.
Zero-IP link analytics
Measure click performance with aggregated referrers, 2-letter country codes, and device categories without saving raw IP addresses.
Developer CLI & JSON
Shorten, list, and inspect links from your terminal or CI pipelines with @safeslug/cli and --json output.
How it works
Four steps to a clean link.
Paste the destination
Drop in any long URL and SafeSlug validates and encrypts the destination without requiring an account.
Pick the slug style
Use random codes for speed, passphrases for verbal readability, or sign in for custom and AI-suggested names.
Share a clearer link
Send a short URL that can be read aloud, recognized in context, and redirected with no-referrer privacy.
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.
| Capability | SafeSlug | Legacy shorteners | Branded link tools |
|---|---|---|---|
| AES-256-GCM URL & slug encryption at rest | Yes | No | No |
| Zero raw IP logging & no-referrer redirects | Yes | No | Partial or paid add-on |
| Memorable multi-word passphrase slugs | Yes | No | No |
| AI-powered smart slug suggestions | Yes | No | Partial or paid add-on |
| Official developer CLI with JSON output | Yes | No | Partial or paid add-on |
| Free tier with no account required | Yes | Yes | No |
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.