URL encoder / decoder
Paste text, choose encode or decode, and copy the result.
URL encoder / decoder runs entirely in your browser: the text you paste is never sent to a server. It is free and needs no sign-up.
How to use it
- Choose URL or Base64 Pick the URL tab or the Base64 text tab, then choose Encode or Decode. Both choices apply to the box below them.
- Set the scope or alphabet For URLs, Component escapes reserved characters such as / ? & =, and Full URL keeps them. For Base64 encoding, tick URL-safe alphabet to use - and _ and drop the = padding.
- Copy the result Type or paste into the Input box, then press Copy under Result. The output updates as you type, and an error explains what is wrong with the input.
Questions
Why does URL decoding show an error?
Decoding fails when a percent sign is not followed by two hex digits, or when the escaped bytes are not valid UTF-8. Check the text and try again.
Does Base64 decoding accept both alphabets and line breaks?
Yes. Decoding accepts the standard and URL-safe alphabets, ignores spaces and line breaks, and works with or without = padding. Bytes that are not UTF-8 text are reported as an error.