URL Encoder & Decoder
Encode or decode URL components locally.
Try a small example
Try a small example
Load the fictional example in a cleared form. Check the options, run the tool if needed, and compare the result below.
Encode or decode one URL component or form/query value with the matching encoding rules. Encoding does not hide or secure the value. Choose Encode or Decode to transform URL component text. Encoding helps represent reserved characters in a URL; it does not encrypt or sanitize data for every context. This encodes a URL component, not a whole URL for every possible context. It does not make a link safe or hide its contents.
Text to encode as a URL value
tea & café
Expected output
tea%20%26%20caf%C3%A9
The example is unavailable until the tool is ready.
Text is processed in your browser.
Share this tool
Only the tool’s public link is shared. Your inputs and results stay here.
Show link to copy manually
Quick answer
Encode or decode one URL component or form/query value with the matching encoding rules. Encoding does not hide or secure the value.
The page and its assets load from the site; this operation uses your entered values only in this browser and does not send them to a calculation endpoint.
How to use it
Choose Encode or Decode to transform URL component text. Encoding helps represent reserved characters in a URL; it does not encrypt or sanitize data for every context.
Limits
This encodes a URL component, not a whole URL for every possible context. It does not make a link safe or hide its contents.
Frequently asked questions
Should I encode a whole URL or one component?
This tool encodes one URL component or form/query value, not a complete URL. Whole URLs have separate structure and encoding rules for their path, query, and fragment.
When should I choose form/query value?
Choose it for values encoded like HTML form data: spaces become +, and + decodes back to a space. Choose URL component for percent-encoded components, where spaces become %20 and + remains a literal plus when decoding.
Does URL encoding encrypt a value?
No. Encoded text is still readable and reversible. Do not put secrets in URLs.
Sources and references
These references document the cited standard or browser API; they do not validate the tool’s output.
