Skip to content

URL Encode and Decode

Percent-encode text for links, or make an encoded URL readable.

How the url encode decode calculator works

URLs can only carry a limited set of characters. Percent-encoding replaces every other character with % and its UTF-8 bytes in hex, so a space becomes %20 and é becomes %C3%A9.

Encode a component (the default) for a single query value or path segment: it also encodes reserved characters like &, = and /. Encode a full URL to keep those characters so the link still works.

Using and checking your result

Published by JustYourCalculator. Check the units and assumptions above, and compare a known example before relying on the output. Calculations use browser arithmetic and may round displayed values.

Share links may contain your input values. Anyone with the URL can read them; avoid sharing sensitive personal or financial information.

Frequently asked questions

%20 is correct everywhere in a URL. A + means a space only in form-encoded query strings; switch on Spaces as + for that format.

encodeURIComponent encodes everything except letters, digits and - _ . ! ~ * ' ( ). encodeURI leaves characters that structure a URL, such as : / ? & = #, untouched.

Yes. Every calculator is free with no sign-up. Clearly labeled ads keep it that way.

Calculations run in your browser. Share links put inputs in the URL, which can be read by anyone you send it to and is sent to the hosting server when opened. Avoid sharing sensitive numbers. Currency conversion requests public exchange rates.

Results follow the formulas and assumptions shown, with normal rounding and numerical limits. Taxes, rates and health guidance can change, so treat these as estimates and confirm important decisions with a qualified professional.