About URL Encode Decode
URL Encode Decode helps developers, testers, and students convert text used in URLs. Choose Encode (component) for one query value, path segment, or other URL data. Choose Decode for percent-encoded text. Choose Encode full URL when you need to encode the complete input as one piece of data. The tool runs in your browser, so nothing typed is uploaded. It returns the converted text and includes a one-click copy option. The three clear modes make it easier to choose component encoding or full URL encoding without switching between separate tools. Percent-encoding is useful when characters such as spaces, slashes, or ampersands could be read as URL syntax. It changes the text representation, not the meaning or security of the data.
How to use it
- 1Choose Encode (component), Decode, or Encode full URL.
- 2Enter plain text, percent-encoded text, or a complete URL.
- 3Run the selected conversion to produce the result.
- 4Copy the output with one click.
Worked example
Input: hello world. Mode: Encode (component). Result: hello%20world.
How it works
Text tool that runs in the browserOptions: Encode (component), Decode, Encode full URLOne click copies the outputNothing typed is uploadedSource: RFC 3986: Uniform Resource IdentifierWHATWG URL Standard. Last checked 4 November 2026.
What it is good for
- Encode one URL component or a complete URL.
- Decode readable text from percent-encoded data.
- Copy the result without uploading your input.
- URL encoding does not encrypt data or confirm that a URL is valid.
- Malformed percent sequences or invalid text bytes may not decode correctly.
Questions people ask
What is URL encoding?
URL encoding, more precisely percent-encoding, represents data with percent signs and two hexadecimal digits. For example, a space becomes %20 in a URL component.
What does %20 mean?
%20 represents a space in standard percent-encoding. It is commonly used when a space must travel inside a URL component.
What is the difference between component and full URL encoding?
Component encoding treats the input as one value, such as a query value or path segment. Full URL encoding treats the complete URL as one piece of data, so characters such as the colon and slashes can also be encoded.
Should I encode a complete URL?
Usually, encode the individual value that you place inside a URL. Encode the complete URL only when another system expects the whole URL as data.
What is the difference between %20 and +?
%20 is the general percent-encoded form of a space. A plus sign represents a space in form-style data, but it usually remains a literal plus sign in a URL path.
Why did %20 become %2520?
The value was encoded twice. The first encoding changed the percent sign in %20 into %25, producing %2520.
Does URL encoding encrypt my text?
No. Encoding only changes how text is represented. Anyone with the encoded value can decode it.
Help keep every tool free
FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.