What Are Custom Slugs?
A slug is the unique identifier in your short link. Instead of random characters, you can create custom, meaningful slugs:- Random slug:
sptfy.in/a7x9 - Custom slug:
sptfy.in/summer-vibes-2026
Benefits of Custom Slugs
- Memorable - Easier for your audience to remember and type
- Branded - Include your brand name or campaign identifier
- Descriptive - Hint at the content before clicking
- Professional - Looks more polished than random characters
- SEO-friendly - Better for sharing and discoverability
How to Create a Custom Slug
Open customization options
On the sptfy.in homepage, click the “customize (optional)” row to expand advanced options.
Enter your custom slug
In the expanded section, you’ll see two fields:
- Domain dropdown - Choose your subdomain (see Subdomains)
- Custom slug input - Enter your desired slug here
- Converts to lowercase
- Replaces invalid characters with hyphens
- Removes consecutive hyphens
- Trims leading/trailing hyphens
Wait for availability check
The system checks slug availability in real-time as you type. You’ll see status indicators below the input:Status colors:
- 🟡 Yellow border - “Checking availability…”
- 🟢 Green border - ”✓ Available”
- 🔴 Red border - “Slug already taken” or validation error
Slug Validation Rules
Custom slugs must follow these rules:Minimum Length
4 characters minimumMaximum Length
80 characters maximum While the system allows up to 80 characters, shorter slugs are recommended for sharing:- Optimal: 4-20 characters
- Maximum: 80 characters
Allowed Characters
Only lowercase letters, numbers, hyphens, and underscores:- ✅ Allowed:
a-z,0-9,-,_ - ❌ Not allowed: Uppercase, spaces, special characters (!, @, #, etc.)
| You type | Auto-converted to |
|---|---|
My Playlist! | my-playlist |
Summer__2026 | summer-2026 |
--trending-- | trending |
Reserved Slugs
Certain slugs are reserved for sptfy.in system routes: Protected routes:recent- Recent links pagetop- Top links leaderboardabout- About pagesterms- Terms of serviceprivacy- Privacy policylogin- Authenticationprev- Preview pagedash- Dashboardadmin- Admin panelapi- API routesdebug- Debug tools
Real-Time Availability Check
sptfy.in checks slug availability as you type using a debounced API call: How it works:- You type a slug → System waits 350ms
- If you stop typing → Checks availability with database
- Shows result → Green (available), red (taken), or yellow (checking)
The “Short It!” button is disabled while checking availability or if the slug is invalid/taken. This prevents accidental duplicate creation.
Choosing a Subdomain
sptfy.in offers multiple subdomains to categorize your content:Available Subdomains
| Subdomain | Best for | Example |
|---|---|---|
| sptfy.in | General use (default) | sptfy.in/my-slug |
| artist.sptfy.in | Artist profiles | artist.sptfy.in/taylor-swift |
| profile.sptfy.in | User profiles | profile.sptfy.in/john-doe |
| playlist.sptfy.in | Playlists | playlist.sptfy.in/workout-mix |
| track.sptfy.in | Individual tracks | track.sptfy.in/hit-song |
Coming Soon
These subdomains are planned but not yet active:- album.sptfy.in - For albums
URL Preview with Custom Slug
As you type a custom slug, the URL preview card updates in real-time to show how your final link will look: Preview shows:- Default:
sptfy.in/****(pre-generated random slug) - Select
playlist.sptfy.in:playlist.sptfy.in/**** - Type
summer-vibes:playlist.sptfy.in/summer-vibes - Final:
playlist.sptfy.in/summer-vibes✅
Custom Slugs in the Dashboard
If you’re signed in, you can also create custom slugs from the Dashboard:- Click + Create New Link button
- Expand customization options
- Enter custom slug (same validation rules apply)
- Real-time availability check works here too
Best Practices
Do’s ✅
- Keep it short - Aim for 4-15 characters when possible
- Use hyphens - Separate words with hyphens for readability
- Be descriptive - Hint at the content (e.g.,
chill-morning-playlist) - Include context - Add dates, campaigns, or events (e.g.,
concert-2026) - Check availability first - Wait for the green ✓ before submitting
Don’ts ❌
- Don’t use spaces - They’ll be converted to hyphens anyway
- Avoid special characters - Only
a-z,0-9,-,_are allowed - Don’t use reserved words - Check the reserved list
- Avoid offensive content - Keep it professional and appropriate
- Don’t make it too long - Long slugs defeat the purpose of shortening
Examples
Good Custom Slugs
Bad Custom Slugs
Troubleshooting
”Slug already taken”
Someone else already created a link with this slug. Try:- Adding a number:
playlist-2026→playlist-2026-v2 - Adding your name:
mix→johns-mix - Using a subdomain:
sptfy.in/mix→playlist.sptfy.in/mix
Input border stays yellow
The system is checking availability. This usually takes less than 1 second. If it stays yellow:- Check your internet connection
- Wait a moment and try typing again
- Refresh the page if needed
Button is disabled
The “Short It!” button is disabled when:- ⏳ Slug is still being checked (yellow border)
- ❌ Slug is taken or invalid (red border)
- ⚠️ Slug is too short (< 4 characters)
- 🔒 Maintenance mode is active
Next Steps
Creating Links
Learn the basics of link creation
Managing Links
View and edit your custom slugs in the dashboard