Runs locally in your browser
URL Encoder & Decoder
Percent-encode URL values or decode them back to readable text. Choose component mode for query values and full URL mode to preserve URL structure.
When should a URL be encoded?
URLs use reserved characters to separate schemes, paths, query parameters, and fragments. Encode user-provided values before placing them inside a URL so spaces, Unicode, ampersands, and other characters are transported without changing that structure.
Component mode is safer for parameter values
Use URL component mode for an individual query key, query value, or path segment. Use full URL mode only when the input already contains meaningful separators such as https://, ?, and &.
Frequently asked questions
What is the difference between encoding a component and a full URL?
Component mode escapes reserved separators such as ?, &, =, /, and :. Full URL mode preserves characters that define the URL structure while encoding spaces and unsafe Unicode characters.
Why do spaces sometimes appear as plus signs?
HTML form encoding commonly represents spaces as +, but JavaScript percent encoding uses %20. This tool follows encodeURIComponent and encodeURI behavior and therefore produces %20.
Can I encode Chinese text and Emoji?
Yes. Unicode characters are converted to their UTF-8 percent-encoded representation and restored during decoding.
Is my URL sent anywhere?
No. Encoding and decoding happen locally in your browser.