Encode and decode URLs and query strings instantly
Free online URL encoder and decoder. Percent-encode URLs for safe transmission or decode encoded URLs back to readable text. Supports full URLs and query params.
URL encoding (percent encoding) converts special characters into a format that can be transmitted over the internet. Spaces become %20, & becomes %26, etc.
encodeURI encodes a full URL and preserves characters like /, ?, &, and =. encodeURIComponent encodes everything including those characters, making it suitable for encoding individual query parameter values.
Always encode query parameter values before appending them to a URL. Failing to encode can break the URL structure or cause security issues like URL injection.
Yes. All encoding and decoding happens locally in your browser. Nothing is sent to a server.
Yes. Unicode characters are first converted to UTF-8 bytes, then each byte is percent-encoded. For example, '€' becomes '%E2%82%AC'.
Get all tools in your browser
Install the Chrome extension for one-click access to every tool — no tab switching needed.
Last updated: January 2025