LockMyUrl
  • About
  • Terms
  • Contact
  • API
Bookmarklet

Free URL Locker Bookmarklet helps you generate quick short URLs without leaving your website.

Drag the link below to your bookmarks bar to install:

Short this link

Free URL Locker Logo LockMyURL

Welcome to My URL Locker!

Developer API

You can use our API to generate shortened links for any of your applications or systems. Below are the supported parameters.


🔗 Basic URL Shortening

Endpoint:
https://lockmyurl.com/api.php?url=XXX

XXX = Target URL (must begin with http:// or https://)

Output:
https://lockmyurl.com/{alias}

URL with Custom Alias

Endpoint:
https://lockmyurl.com/api.php?url=XXX&cust=YYY

YYY = Your custom alias (only letters, numbers, dash and underscore allowed)

Output:
https://lockmyurl.com/YYY

🔐 URL with Password Protection

Endpoint:
https://lockmyurl.com/api.php?url=XXX&pass=ZZZ

ZZZ = Password for accessing the shortened URL

Output:
https://lockmyurl.com/{alias} (password required to access)

🛡️ Custom Alias + Password

Endpoint:
https://lockmyurl.com/api.php?url=XXX&cust=YYY&pass=ZZZ

YYY = Custom alias
ZZZ = Password

Output:
https://lockmyurl.com/YYY (protected)


Response format is plain text or JSON if requested using &type=json.

Example: https://lockmyurl.com/api.php?url=https://google.com&type=json