Data URI Generator
Turn text, SVG or a small file into a data: URI you can inline anywhere.
Percent-encode URLs and query strings, or decode them back to plain text.
Paste a full URL above and its parameters are decoded here.
The URL Encoder & Decoder percent-encodes URLs and query strings and decodes them back to plain text. It offers both encoding modes, which is the distinction that prevents the most common mistake: encoding a whole URL as though it were a single parameter value.
URLs may only contain a limited set of ASCII characters. Anything else — spaces, ampersands inside a value, accented letters, emoji — has to be percent-encoded, where each byte becomes a percent sign followed by two hexadecimal digits.
The tool offers both encoding modes, and the difference matters. Component mode escapes the reserved characters such as ampersand, equals, slash and question mark, which is correct when you are encoding a single query parameter value. Full-URI mode leaves those structural characters intact so a complete address stays usable. Encoding a whole URL in component mode is the most common mistake this tool prevents.
Component mode escapes reserved characters such as ampersand, equals, slash and question mark; full-URI mode leaves them intact so a complete address stays usable.
Paste a percent-encoded string and read it back as plain text, which is how you debug a redirect chain.
Spaces, accented letters and emoji are encoded byte by byte to valid percent sequences.
Output updates as you type, with no submit step.
Convert as many URLs as you need, with nothing sent off your device.
Choose the direction you need with the toggle at the top.
Use component mode for a single parameter value, or full-URI mode for a complete address.
The converted string appears immediately and can be copied with one click.
Component mode escapes reserved characters such as & = ? and /, which is what you want for one query value. Full-URI mode preserves them so an entire URL remains valid.
Percent-encoding turns a space into %20. The plus sign comes from the older form-encoding rules used in application/x-www-form-urlencoded bodies. Both are seen in the wild.
Yes. Characters are UTF-8 encoded before percent-encoding, so Bengali, Chinese, Arabic and emoji all convert and decode correctly.
What people who use the URL Encoder & Decoder think of it. Reviews come from visitors and are posted as written.
No ratings yet
Yours would be the first.
0 reviews
Newest first
No reviews yet
Be the first to rate the URL Encoder & Decoder. It takes half a minute and no account.
Write the first reviewTurn text, SVG or a small file into a data: URI you can inline anywhere.
Build and edit URL query strings without breaking the encoding.
Compare two files side by side and export a unified diff.
Convert HTML into valid JSX, with every attribute renamed correctly.
Re-indent HTML without breaking whitespace-sensitive elements.
Convert text to Base64 and back, with full Unicode support.
Turn text into a block-letter ASCII banner for a README or a CLI.
Convert a hexadecimal string to Base64, standard or URL-safe.