Free online URL encoder and decoder. Encode or decode URLs with proper percent-encoding per RFC 3986. Supports partial encoding, full URL mode, form data encoding, and double encoding detection. Essential for web developers building APIs and handling query strings. 100% browser-based.
100% browser-based — your data never leaves your device
Encode or decode URLs and query strings with proper percent-encoding.
Toggle between Encode and Decode mode depending on what you need.
Type or paste the URL or text you want to encode or decode in the input field.
Choose between full URL encoding or encode only query parameters for finer control.
Click Copy to grab the encoded or decoded output for use in your application.
Ctrl+Enter to encode
Count words, characters, sentences, and paragraphs in your text instantly.
Character CounterCount characters, words, sentences, and paragraphs in your text with real-time character analysis.
Slug GeneratorGenerate URL-friendly slugs from any text. Supports multiple separator styles.
Lorem Ipsum GeneratorGenerate placeholder text for your design and development projects.
URL Encode/DecodeEncode or decode URLs and query strings with proper percent-encoding.
URL Query ParserParse URL query parameters into a readable key-value table.
Diff CheckerFind differences between two texts with line-by-line highlighting.
Case ConverterConvert text between uppercase, lowercase, title case, sentence case, and more.
Base64 Encode/DecodeEncode or decode Base64 text instantly in your browser.
Regex TesterTest regular expressions with real-time matching, syntax highlighting, and cheat sheet.
Markdown PreviewWrite and preview markdown with live HTML rendering.
Markdown EditorWrite and preview markdown with live HTML rendering and syntax highlighting.
Percent-encoding exists because URLs can only carry a limited set of characters as-is. This tool applies that encoding the way the RFC 3986 rules specify, so spaces, ampersands, hashes, and emoji become properly escaped strings instead of broken links:
Because the transformation runs locally, the URLs you are debugging never pass through a third-party server.
Developers hit this tool at the exact moment a request fails or a link breaks. A search query with an ampersand, a parameter value containing spaces, or a URL built from user input with an emoji all need proper percent-encoding before they will survive the round trip to an API. Debugging a malformed URL is far easier when you can see the encoded form alongside the plain text and confirm each character is escaped correctly.
The tool also helps you build URLs correctly in the first place. Preparing query parameters for API requests and redirects means knowing the difference between encoding a whole URI and encoding just a value. The partial encoding mode makes that distinction visible: your domain and path stay readable while only the parameter values are transformed, which is what a well-formed URL should look like.
The bidirectional nature covers the reverse path too. Decoding a scrambled percent-encoded string you pulled from server logs, a redirect header, or a stored link restores the original text instantly, which is invaluable when you are tracing where an encoding error crept in. The distinction between unreserved and reserved characters follows the RFC 3986 rules, so encoding behaves predictably instead of guessing.
URLs you debug during development frequently carry real payloads: authentication tokens, session identifiers, filter selections, and user-submitted values that reveal the shape of your data. Pasting those into an online encoder means copying sensitive request details into a service that stores or inspects them.
Because encoding and decoding happen entirely in your browser, your endpoints, tokens, and query values stay on your machine. You can test and repair URLs for live systems without exposing the requests themselves to anyone else.
Toggle between Encode and Decode mode depending on what you need.
Type or paste the URL or text you want to encode or decode in the input field.
Choose between full URL encoding or encode only query parameters for finer control.
Click Copy to grab the encoded or decoded output for use in your application.
Practical examples to help you get the most out of URL Encode/Decode:
Input: 'hello world & welcome' Encoded: 'hello%20world%20%26%20welcome'
Input: '%2Fapi%2Fusers%3Fid%3D123' Decoded: '/api/users?id=123'
Only encode the query parameter values, not the base URL or path. The domain and path should remain readable. Encode '?name=John & Doe' not 'https://example.com'.
Check if your input already contains % signs before encoding. Encoding an already-encoded string like '%20' will produce '%2520' which is incorrect.
Characters like spaces, &, ?, #, %, /, =, and non-ASCII characters (Unicode, emoji) must be encoded. Letters, digits, and a few special characters (-._~) are safe and don't need encoding.
encodeURI encodes a full URI but preserves characters that are part of the URI syntax (:/?#[]@). encodeURIComponent encodes everything, making it suitable for encoding query parameter values.
Yes. Emojis and other Unicode characters are encoded as multi-byte percent-encoded sequences. For example, 🎉 becomes %F0%9F%8E%89.
Yes. URL encoding is a pure transformation — decoding an encoded string returns the original text. The process is lossless and deterministic.
Encode or decode URLs in both directions with a single toggle.
Choose to encode the full URL or only query parameters.
See changes live, character by character, as you type or paste.
Properly handles unreserved characters vs reserved characters per RFC 3986.
URL Encode/Decode is useful in a variety of scenarios across different workflows:
Encoding special characters for URL query parameters
Debugging malformed URLs with improper encoding
Preparing URLs for use in API requests and redirects
Always encode individual query parameter values, not the entire URL at once. Use encodeURIComponent for values and encodeURI for the full URL.
If a URL already contains percent-encoded characters, encoding it again will encode the % signs. Check if your input is already encoded before processing.
Explore more tools in the SEO Workspace workspace:
Meta Tag Generator
Generate optimized meta tags including OG and Twitter Card tags.
SERP Preview
Preview how your page will appear in Google search results with title, URL, and meta description.
YouTube Tags
Generate optimized YouTube tags and keywords from any topic or video description to improve search visibility.
Schema Generator
Generate JSON-LD schema markup for articles, products, FAQs, local business, and more.
Sitemap Generator
Generate XML sitemaps from a list of URLs with priority and frequency settings.
Robots.txt Tester
Validate and test your robots.txt rules against specific URLs.