How to use
Learn how to shorten links, use advanced options, customize links, view stats, and more.
1. Enter your long URL
Paste your original long link into the input box and click "Shorten URL".
2. Use advanced settings (optional)
Customize short link:
You can enter a custom short code (e.g.my-link
). If the code is already taken, you'll be asked to choose another.
Link Control:
- Full Control: Generate a secret code that lets you view stats, update expiration, or delete the link.
- Stats Only: Anyone can see stats, but can't modify or delete the link.
- No Control: Anonymous mode. No stats, no tracking, no management.
Link Expiration:
- Never expire: The link remains active unless deleted manually.
- After clicks: Expires after a defined number of visits.
- After minutes: Expires X minutes after creation.
- After hours: Expires X hours after creation.
- After days: Expires X days after creation.
Password Protection:
- No password: Visitors can access the original link without entering a password.
- With password: Users must enter the correct password to access the destination link.
3. Copy the short link and QR code
After shortening, you'll receive several items:
- Short URL: The shortened link you can share publicly.
- QR Code: A scannable version of the short link, available in multiple sizes, themes, and formats (PNG/SVG).
- Secret Code(only if Full Control is selected): This private code is required to manage your link. Do not share it publicly.
- Management URL: A direct dashboard link that includes the secret code, allowing you to view stats, change settings, or delete the link.
Make sure to verify the link before sharing, and store the secret code securely if you need to manage the link later.
You can also add a + or * at the end of a short link (e.g. lnk.ink/abc123+) to preview the destination before visiting.
4. Recently Created Links
After shortening, each link appears below in the "Recently Created Links" section.
- Quickly copy the short link or secret code
- View control mode and access the dashboard
- Delete items from the list (local only)
- Use "Download CSV" to save the list
- Click "Clear All" to wipe everything from your browser
This list is stored only in your browser and is not synced to any server.
5. Access the link dashboard
Click "Dashboard" or visit/d/<code>
to access the full analytics dashboard for your link.
Example:lnk.ink/d/demo
Statistics include:
- Total number of clicks (including QR scans)
- QR scan count
- Original URL and shortened link
- Created at and last accessed time
- Expiration details (exact time, time remaining, or remaining clicks)
- Click history over time
- Charts:
- Top countries (by country code from Cloudflare)
- Device types (desktop, mobile, tablet)
- Browsers used (e.g. Chrome, Safari, Edge)
- Top referrers (e.g. facebook.com, t.co, youtube.com)
- Recent clicks: time, country, device, browser, and referrer
If your link has Full Control, you can also:
- Edit expiration settings (time or click limit)
- Enable or update password protection
- Delete the link permanently
- Copy a protected stats URL to share privately
All statistics are powered by Cloudflare's edge data and user-agent parsing.
If the stats page is password protected, you'll be asked to enter the correct password.
6. Use the API (optional)
You can also shorten links via GET request to/api/links/create
for a quick and simple implementation.
Example:
https://lnk.ink/api/links/create?url=https://example.com
Parameters:
url
– (required) – The URL to shorten (must start with http:// or https://)format
– (optional) – Set to "simple" to receive just the shortened URL as plain textcustom
– (optional) – Custom short code (5–64 alphanumeric characters, must be unique)
For more features like QR codes, expiration, custom alias, password, and POST requests, see the full API documentation atlnk.ink/docs/api