Developer

URL Encode / Decode

This utility encodes text into percentage-encoded URL format or decodes percent-encoded strings into plain text. You can select between standard full-URL encoding and component encoding to preserve query parameters, then copy your sanitized string. The entire conversion happens locally in your web browser, keeping your links and parameters completely private.

Safely encode URLs and query string components, or decode percent-encoded text back to readable form. Handles full URLs and individual components.

Examples

Input · Component encode
a b&c=1
Output
a%20b%26c%3D1

How it works

The tool has two scopes because the two jobs need different rules. Component escapes everything that is not a letter, a digit or one of - _ . ! ~ * ' ( ), which is right for a single query value. Full URL leaves the characters that give a URL its structure, such as : / ? # & and =, untouched.

The same input, encoded both ways
Scopea b&c=1 becomes
Componenta%20b%26c%3D1
Full URLa%20b&c=1

A space is always written as %20, never as +, and decoding leaves a + as it is. If decoding fails, the input has a % that is not followed by two valid hex digits.

How to use URL Encode / Decode

Enter text
Paste the URL or text you want to convert.
Pick a mode
Component mode encodes everything; full-URL mode preserves structure.
Copy
Copy the encoded or decoded output.

Why use this tool

Component and full-URL modes
Round-trips safely
Instant conversion
Private

Frequently asked questions

Component mode (encodeURIComponent) encodes reserved characters like & and =. Full-URL mode (encodeURI) keeps them so the URL stays valid.

Found a bug or have an idea?

ToolOrbit is actively developed — feedback directly shapes what gets built next.

Send feedback