SendURL Slug Rules: Length, Characters and Case
The rules for SendURL slugs: random five or six characters, or a custom slug of up to 256 letters, digits, hyphens and underscores, minus reserved words.
The slug is the part of a short link after the domain: in snu.to/spring-sale, it's spring-sale. It's the only part of a SendURL link you choose, and once a link exists it never changes. This post covers the two kinds of slug, the rules for custom ones, and how to pick a good one. Both kinds are available on every plan.
| Rule | What it is |
|---|---|
| Length | 1 to 256 characters |
| Characters | A to Z, a to z, 0 to 9, hyphen and underscore |
| Case | Case-sensitive |
| Unique | Per domain; a deleted link's slug stays taken |
| Reserved | health, api, docs, robots.txt, favicon.ico, sitemap.xml, _next, in any letter case |
| Change later | No: fixed once the link exists |
| Random | 6 characters in the console and on the home page, 5 from the API |
Step 2: share the short link in place of the long one, in a message, a post or an email.
Step 3: sign up free to keep the link and see each click's country, device and referrer.
Random slugs
If you don't need a particular slug, SendURL makes one up from letters, upper and lower case, and digits:
- In the console, the New link page starts with a random six-character slug, such as
snu.to/aZ3k9Q. Choose the Regenerate slug button beside it for a different one. - Through the API, leaving out
sluggives a random five-character one, such assnu.to/x7Kp2. - Guest links from the home page get six characters, such as
snu.to/x7Kp2m.
With 62 possible characters in each position, there are about 916 million five-character slugs and nearly 57 billion six-character ones, so random slugs stay short and almost never collide. If one ever does, you're asked to try again.
Random slugs are the right choice when nobody will type or read the link: links in emails, posts and chat messages that people tap, and QR codes, where shorter slugs also mean simpler codes.
Custom slugs
A custom slug is one you type yourself. In the console, switch Short link from Random to Custom and type it. The rules:
- 1 to 256 characters
- Letters a to z and A to Z, digits 0 to 9, hyphens and underscores only, so no spaces, dots, slashes, accented letters or emoji
- Not one of the reserved words, in any letter case:
health,api,docs,robots.txt,favicon.ico,sitemap.xmland_next - Not already taken on the same domain
The last rule is the one people run into. Slugs are unique per domain, and on snu.to that means across all of SendURL, not per account, because everyone's links share it. On your own custom domain or snu.to subdomain, only your links compete; how to add one is on the custom domains page. A deleted link's slug stays taken too. If someone already has snu.to/sale, you'll see that the slug is already taken. Adding a word usually solves it: summer-sale-2026 or acme-sale.
Are short link slugs case-sensitive?
Slugs are case-sensitive: snu.to/Launch and snu.to/launch are two different links, and could belong to two different people. Sticking to lowercase avoids confusion when someone types your link from a poster.
Slugs can't be changed
Once a link is created, its slug is fixed, in the console and the API alike. That's what makes a short link safe to print: the QR code and every copy of the link point at the slug. What you can change, on Starter and above, in the console or through the API, is where the slug leads; see Change where a short link points. The plans are on the Pricing page.
If you need a different slug, create a new link with it, and disable the old one or, on Pro and above, let it expire.
Choosing a good custom slug
- Make it easy to say. If you'll read it out on a podcast or a stage,
snu.to/ep42-notesbeatssnu.to/aZ3k9Q. - Use hyphens between words.
spring-menuis easier to read thanspringmenu. - Avoid look-alike characters in print, such as a lowercase l next to the digit 1, or a capital O next to zero.
- Put the placement in the slug when you share the same page in several places, such as
menu-windowandmenu-table, so each placement gets its own click count. - Keep it short. Every character is one more someone may have to type.
For naming patterns that work across a whole campaign, see how to name short links. Every way to make a link, from the web to the API, is in how to shorten a URL for free. A link made without an account gets a random slug; shorten a link without an account covers what you keep when you sign up.
How to create a link with a custom slug
- Sign in to the console and choose New link.
- Paste the Destination URL.
- Under Short link, choose Custom and type your slug after the domain.
- Choose Create short link. If the slug is taken, pick another and try again.
To confirm where the finished link leads, paste it into the redirect checker; a check of a snu.to link counts as one click.
With the API, send slug in the body of POST /links:
curl -X POST https://api.sendurl.to/api/v1/links \
-H "Authorization: Bearer $SENDURL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"destinationUrl": "https://example.com/spring", "slug": "spring-menu"}'A taken slug is 409 slug_taken, and one that breaks the rules is 400 validation_error. Every rule is listed under Create a link in the API docs.
Frequently asked questions
The part after the domain. In snu.to/spring-sale the domain is snu.to and the slug is spring-sale. The whole thing is the URL; the slug is the piece that names one link.
On SendURL, yes: snu.to/Launch and snu.to/launch are two different links. Other shorteners differ, and some make it a setting, so check before you print a link with capital letters.
On SendURL a custom slug can be 1 to 256 characters. Random slugs are 6 characters from the console and the home page, and 5 from the API.
No. A SendURL slug is fixed once the link exists. Create a new link with the slug you want and switch the old one off; on Starter and above you can also change where the old slug leads.
Start tracking links free.
Create your first short link with click analytics in seconds. No credit card, no sign-up to start.