URL Shortener Documentation
Complete guide to all 13 features of the URL Shortener tool. Create secure, trackable links with custom aliases, QR codes, password protection, and comprehensive analytics.
All 13 Features
Custom Aliases
Create memorable short links with your own custom keywords (e.g., /go/my-brand-sale)
Password Protection
Secure links with password. Visitors must enter password before accessing.
Custom QR Codes
Generate QR codes with custom colors to match your brand. High error correction.
UTM Tracking
Built-in UTM parameter builder for marketing campaigns. Track in Google Analytics.
Expiration Settings
Set links to expire after specific time. Perfect for temporary promotions.
Redirect Types
Choose 301 (permanent), 302 (temporary), or 307 redirects. Control SEO pass-through.
Link Preview
Password-protected links show preview page before redirect with password input.
Device Tracking
Track whether visitors are on mobile, desktop, or tablet devices.
Referrer Analytics
See where your traffic is coming from (direct, social, email, etc).
Click Counting
Accurate click counting with timestamp and history tracking.
Last Clicked Info
See when each link was last clicked for real-time monitoring.
Link Status
Enable/disable links anytime. Check if link is active or disabled.
Secure Hashing
Passwords hashed with PBKDF2 + SHA-512. Secure and encrypted.
Quick Start Guide
Enter Destination URL
Paste your long URL in the Destination URL field
Customize Your Link (Optional)
Add custom alias, password, QR color, UTM params, expiration
Generate & Share
Click "Generate Short Link" and share your short URL
API Reference
Create Short Link
{
"url": "https://example.com",
"customAlias": "my-link",
"password": "secret123",
": "#FF573 "qrColor3",
"redirectType": "302",
"expirationHours": 24,
"utmSource": "twitter",
"utmMedium": "social",
"utmCampaign": "summer_sale"
}Get Analytics
Verify Password
{
"code": "your-short-code",
"password": "secret123"
}Response Examples
Analytics Response
{
"success": true,
"data": {
"originalUrl": "https://example.com/",
"shortCode": "my-link",
"clicks": 1250,
"hasPassword": true,
"qrColor": "#FF5733",
"isActive": true,
"redirectType": "302",
"clickStats": {
"mobile": 680,
"desktop": 570,
"referrers": {
"twitter.com": 450,
"direct": 380,
"newsletter": 420
}
}
}
}Common Use Cases
Social Media Marketing
Trackable links for Twitter, Instagram, LinkedIn with custom aliases
Secure Document Sharing
Password-protect links for sensitive documents
Email Campaigns
Track email performance with UTM parameters
Print Advertising
QR codes for print materials with custom colors
Parameters Reference
| Parameter | Type | Description |
|---|---|---|
url | string | Destination URL (required) |
customAlias | string | Custom short code (3-30 chars) |
password | string | Password protection (min 4 chars) |
qrColor | string | QR code color (hex format) |
redirectType | string | 301, 302, or 307 |
expirationHours | number | Hours until expiration |
utmSource | string | UTM source |
utmMedium | string | UTM medium |
utmCampaign | string | UTM campaign |