Ready now
URL Encoder / Decoder
Preparing controls…
About this tool
What URL Encoder / Decoder does
Percent-encode text for a URL component or decode an encoded component into readable text with clear error feedback.
Percent-encode or decode one URL component, such as a query value. Component encoding preserves the value while escaping characters that would otherwise act as URL syntax.
Encode a query value
Input or settings
a b/c
Expected result
a%20b%2Fc
Mode: Encode component.
How to use it
- Choose Encode or Decode for one component value.
- Choose the component action and review percent escapes.
- Insert the result into the intended URL field without encoding it a second time.
Common uses
- Prepare a query value containing spaces or a slash.
- Inspect percent-encoded text copied from a URL.
Important limitations
- Encoding an entire URL here also escapes its structural separators.
- A plus sign is not automatically treated as a form-encoded space; malformed percent escapes or UTF-8 are rejected.
Frequently asked questions
Should I paste the complete URL?
Use one component. Encoding a full URL with this tool will also encode characters such as : and /.
Why did + remain a plus?
Component decoding follows decodeURIComponent semantics. Form URL encoding has a separate plus-to-space convention.