URL Encoder / Decoder
Convert text to and from percent-encoded URL form, in your browser.
How it works
Paste text to encode it for use in URLs, or paste a percent-encoded string to decode it. Two buttons, instant result, no upload.
Methodology
Encoding uses JavaScript's encodeURIComponent, which percent-escapes characters that have meaning in URLs (& = ? # space, etc.) and any non-ASCII bytes. Decoding uses decodeURIComponent. Invalid sequences raise a clear error.
Frequently asked questions
When do I need URL encoding?
Whenever you put user-supplied text in a URL — query parameters, path segments, hash fragments. Forgetting to encode is a leading source of bugs and injection issues.
Why does my decoded text show '+' instead of spaces?
Form-encoded URLs use '+' for space; URL-encoded paths use '%20'. We use the strict URL form. To convert form-style, replace '+' with space first, then decode.
Other free tools
Password Strength Checker
Estimate the entropy and crack-time of any password — entirely in your browser.
ToolPassword Generator
Create a strong, random password using your browser's secure RNG.
ToolPassphrase Generator
Generate a memorable random word-based passphrase for your master credential.
ToolBrowser Privacy Snapshot
See exactly what your browser exposes to every website you visit.
ToolSecurity Headers Explainer
Paste your site's response headers — get a plain-English breakdown of each one.
ToolQR Code Generator
Generate a QR code from any text or URL — entirely in your browser.
ToolWord Counter
Count words, sentences, paragraphs, and reading time as you type.
ToolCharacter Counter
Count characters with and without spaces — useful for SEO meta tags and tweets.
ToolBase64 Encoder / Decoder
Encode text to Base64 or decode Base64 to text — locally.
ToolMeta Title SERP Preview
See how your <title> tag looks in a Google search result, with character feedback.
ToolMeta Description SERP Preview
Preview your meta description and check it fits in a search snippet.
ToolRobots.txt Generator
Build a robots.txt with common rules, the right syntax, and your sitemap line.
ToolVPN vs Proxy Decision Helper
Answer four questions; get a clear recommendation.