URL Encoder & Decoder
Free online URL encoder and decoder. Percent-encode special characters, decode malformed URLs and safely build query strings for APIs and redirects.
How to use URL Encoder & Decoder
- 1
Paste the string or URL you want to convert.
- 2
Pick Encode or Decode (and component mode for query strings).
- 3
The converted value updates instantly below.
- 4
Copy the result into your code or browser.
Key features
Encode and decode URLs instantly
Component-level or whole-URL encoding
Auto-fixes '+' vs '%20' space issues
Preserves existing valid encodings on decode
Live conversion as you type
One-click copy of the result
URL Encoder & Decoder — FAQ
Whenever you put free-form text into a URL — query parameters, paths or redirect targets. Characters like &, =, ? and spaces will break URLs unless encoded.
encodeURI keeps characters that are legal in a full URL (like :/?#). encodeURIComponent encodes nearly everything and should be used for individual parameter values.
%20 is the percent-encoded form of a space. Some systems use '+' for spaces in query strings — this tool lets you switch between the two styles.
Related tools
JSON Formatter & Validator
Format, minify and validate JSON in real time.
Developer ToolsBase64 Encoder & Decoder
Encode text to Base64 and decode it back instantly.
Developer ToolsHash Generator (SHA-1, SHA-256, SHA-512)
Compute SHA-1, SHA-256, SHA-384 and SHA-512 hashes of any text.
Developer ToolsUUID v4 Generator
Generate random UUID v4 identifiers in bulk, instantly.
Developer ToolsUnix Timestamp Converter
Convert Unix timestamps to readable dates and back.
Developer ToolsRegex Tester
Test regular expressions live with syntax highlighting.
Developer Tools