URL Encoder/Decoder
Free online URL encoder and decoder. Percent-encode special characters in URLs or decode them back. Supports Component and Full URL modes. Runs in your browser.
How to Use
- 1 Choose Encode to percent-encode your text, or Decode to convert encoded text back to readable form
- 2 Select the mode: Component for encoding a URL parameter value, Full URL for encoding a complete URL
- 3 Paste or type your input into the left area
- 4 Click the Encode or Decode button to process
- 5 Copy the result from the right area with the Copy button
Use Cases
Safely encode values before appending them to a URL query string, ensuring characters like & and = don't break the URL structure.
Decode percent-encoded URLs found in server logs or browser address bars to read the original human-readable text.
Encode dynamic values before inserting them into API endpoint URLs to prevent parsing errors on the server side.
Encode a full URL containing spaces or non-ASCII characters so it can be safely shared in emails, documents, or chat messages.
FAQ
Component mode uses encodeURIComponent, which encodes all special characters including ? & = : and /. Use this when encoding a single value that will be placed inside a URL. Full URL mode uses encodeURI, which preserves those structural characters so the URL remains valid. Use this when encoding a complete URL.
Yes. All encoding and decoding happens entirely in your browser. Your data is never sent to any server.
Percent-encoding (also called URL encoding) replaces characters that are not allowed or have special meaning in URLs with a percent sign followed by two hexadecimal digits representing the character's byte value. For example, a space becomes %20.
Use Component mode. A search query is a parameter value (the part after q=), so all special characters including & and + should be encoded. Full URL mode would leave those characters unencoded.
Yes, the decoder handles both Component-encoded and Full-URL-encoded strings using decodeURIComponent, which correctly interprets all standard percent-encoded sequences.
Once the page is loaded, the tool works entirely in your browser with no internet connection required.
Related Tools
A/B Test Calculator
Check if your A/B test results are statistically significant. Calculates p-value, Z-score, uplift, and statistical power. Free.
Open →A/B Test Sample Size Calculator
Calculate the sample size needed per variation for a statistically valid A/B test. Set confidence level, power, baseline rate and MDE. Free.
Open →ACOS Calculator
Calculate your Amazon ACOS, ROAS, and break-even ACOS instantly. Free tool for Amazon sellers to measure ad efficiency and profitability.
Open →