Skip to main content
Shorturlx turns any long URL into a compact short link you can share anywhere. No account is required to get started.

How it works

When you submit a URL, Shorturlx generates a unique 7-character slug using nanoid and stores the mapping in the database. Anyone who visits the short link is redirected to the original URL, and the click count is incremented automatically. Your short link looks like this:
https://www.shorturlx.xyz/abc1234
Anonymous vs. authenticated users
  • Anonymous users can shorten URLs immediately without signing in. The link is not tied to any account and will not appear in a dashboard.
  • Authenticated users get the same instant shortening, plus access to click analytics, link management, and the ability to use custom slugs.
Sign in to choose a custom slug like www.shorturlx.xyz/my-brand instead of a random 7-character code. See Custom slugs for details.
1

Paste your long URL

Enter any valid URL into the input field on the homepage.
2

Submit

Click Shorten. Shorturlx validates the URL and generates a 7-character slug instantly.
3

Copy and share

Copy the short link and share it anywhere. Every visit to the short link redirects to your original URL.

Content filtering

Shorturlx automatically rejects URLs that contain adult content patterns. The following terms trigger a block, regardless of case:
  • porn
  • xxx
  • adult
  • sex
  • escort
  • nsfw
The filter uses word boundaries, so terms embedded in other words (for example, group_adults=5 in a query string) are not flagged. If your URL is rejected, the API returns a 400 error with the message: URLs containing adult content are not allowed.

Click tracking

Every time someone visits a short link, the click count for that link increases by one. Shorturlx uses Redis to increment click counts with low latency. If Redis is unavailable, the count is written directly to the database as a fallback. Authenticated users can view click counts for their links in the dashboard. See Analytics for more.

Performance

Short link redirects are served from a Redis cache, so lookups are fast even under high traffic. Cached entries expire after one hour, after which the next request fetches the record from the database and re-populates the cache.

Next steps

Custom slugs

Choose a memorable path for your short links.

Analytics

Track click counts and link performance.

API keys

Shorten URLs programmatically with the REST API.

API reference

Full REST API documentation.

Build docs developers (and LLMs) love