Browse by category
Featured Tools
Company

← All Tools

🔗

URL Encoder / Decoder

Encode or decode URL strings and special characters instantly.

Common URL encodings

What is this tool?

A URL encoder/decoder is a free developer tool that converts special characters in URLs to percent-encoded format (URL encoding) or decodes percent-encoded strings back to readable text. URL encoding is required for passing special characters, spaces and non-ASCII text safely in web addresses and API requests.

How to Use

1
Paste your URL or textEnter the URL or text string you want to encode or decode into the input box.
2
Click Encode or DecodeClick Encode to convert special characters to percent-encoded format, or Decode to convert percent-encoded text back to readable characters.
3
Copy the resultClick Copy to grab the encoded or decoded URL and use it in your browser, code or API.

Common Uses

💻
API Development

Encode query string parameters that contain special characters for GET requests and API calls.

🌐
Web Development

Encode form data and URL parameters before sending them in HTTP requests.

🔍
SEO & Analytics

Decode percent-encoded URLs in analytics reports and server logs to read the actual search terms.

🔒
Security Testing

Decode obfuscated URLs to inspect their actual destination for security analysis.

Frequently Asked Questions

What is URL encoding?

URL encoding (percent encoding) replaces special characters with a % followed by two hexadecimal digits. Space becomes %20, & becomes %26, = becomes %3D.

When do I need to URL encode?

Encode URLs when they contain spaces or special characters that have meaning in URLs (?, &, =, #, %). Always encode query string values before appending to a URL.

What characters are safe in URLs?

The 'unreserved characters' that do not need encoding are: A–Z, a–z, 0–9, hyphen (-), underscore (_), period (.) and tilde (~). All other characters should be encoded.

What is the difference between encodeURI and encodeURIComponent in JavaScript?

encodeURI encodes a full URL but leaves /, ?, &, = and # intact. encodeURIComponent encodes everything including these characters — use it for individual query parameter values.