URL Encoder & Decoder
Percent-encode URLs and query parameters, or decode encoded strings back to plain text. Supports Component and Full URI modes. Output updates as you type.
Plain Text / URL
Encoded URLread-only
Common Percent-Encoded Characters
%20!%21#%23$%24&%26'%27(%28)%29*%2A+%2B,%2C/%2F:%3A;%3B=%3D?%3F@%40[%5B]%5D%%25About this tool
A fast, browser-only URL encoder and decoder with three modes. Encode converts plain text or URLs to their percent-encoded form. Decode converts percent-encoded strings back to plain text. Auto detects which to apply by checking whether the input contains percent-escape sequences.
Two encode scopes are available: Component (encodeURIComponent) encodes all special characters and is ideal for query parameter values and path segments. Full URI (encodeURI) preserves structural URL characters and is suitable for encoding a complete URL. A built-in reference table shows the most common percent-encoded characters at a glance. Use Swap to flip the output back into the input and reverse the operation in one click.
How to use
Choose a mode
Select Encode to convert plain text to a percent-encoded URL, Decode to reverse it, or Auto to let the tool detect which is needed from your input.
Pick the encode scope
In Encode mode, choose Component (encodeURIComponent) for individual values like search terms, or Full URI (encodeURI) when encoding a complete URL without breaking its structure.
Type or paste your input
The encoded or decoded output appears instantly in the right panel as you type. Use the Sample button to load an example URL with spaces and special characters.
Copy or swap
Click Copy to copy the output to your clipboard, or Swap to move the output back into the input and flip the mode — useful for round-trip testing.
Related tools
Frequently asked questions
Common questions about URL encoding, percent-encoding, and when to use each mode.
