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

01

Custom Aliases

Create memorable short links with your own custom keywords (e.g., /go/my-brand-sale)

02

Password Protection

Secure links with password. Visitors must enter password before accessing.

03

Custom QR Codes

Generate QR codes with custom colors to match your brand. High error correction.

04

UTM Tracking

Built-in UTM parameter builder for marketing campaigns. Track in Google Analytics.

05

Expiration Settings

Set links to expire after specific time. Perfect for temporary promotions.

06

Redirect Types

Choose 301 (permanent), 302 (temporary), or 307 redirects. Control SEO pass-through.

07

Link Preview

Password-protected links show preview page before redirect with password input.

08

Device Tracking

Track whether visitors are on mobile, desktop, or tablet devices.

09

Referrer Analytics

See where your traffic is coming from (direct, social, email, etc).

10

Click Counting

Accurate click counting with timestamp and history tracking.

11

Last Clicked Info

See when each link was last clicked for real-time monitoring.

12

Link Status

Enable/disable links anytime. Check if link is active or disabled.

13

Secure Hashing

Passwords hashed with PBKDF2 + SHA-512. Secure and encrypted.

Quick Start Guide

1

Enter Destination URL

Paste your long URL in the Destination URL field

2

Customize Your Link (Optional)

Add custom alias, password, QR color, UTM params, expiration

3

Generate & Share

Click "Generate Short Link" and share your short URL

API Reference

Create Short Link

POST/api/execute/url-shortener
json
{
  "url": "https://example.com",
  "customAlias": "my-link",
  "password": "secret123",
": "#FF573  "qrColor3",
  "redirectType": "302",
  "expirationHours": 24,
  "utmSource": "twitter",
  "utmMedium": "social",
  "utmCampaign": "summer_sale"
}

Get Analytics

GET/api/tools/shorten/analytics?code=YOUR_CODE

Verify Password

POST/api/tools/shorten/verify
json
{
  "code": "your-short-code",
  "password": "secret123"
}

Response Examples

Analytics Response

json
{
  "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

ParameterTypeDescription
urlstringDestination URL (required)
customAliasstringCustom short code (3-30 chars)
passwordstringPassword protection (min 4 chars)
qrColorstringQR code color (hex format)
redirectTypestring301, 302, or 307
expirationHoursnumberHours until expiration
utmSourcestringUTM source
utmMediumstringUTM medium
utmCampaignstringUTM campaign