URL Encoder / Decoder
Encode and decode URL components — perfect for query string manipulation
💡 Encodes special characters including ?, /, &, =, #, spaces and Unicode
About This Tool
URL encoding (also known as percent-encoding) converts special characters into a format that can be safely transmitted in URLs. This free online URL encoder/decoder handles both encoder modes — for query parameters and for full URLs — with instant bidirectional conversion.
Essential use cases include encoding user input before appending it as URL query parameters, decoding URLs from web server logs for inspection, handling non-ASCII characters in internationalized URLs, and preparing data for REST API calls that include special characters.
The tool provides two encoding modes: encodeURIComponent for query parameters (encodes everything including ?, &, and /) and encodeURI for full URLs (preserves structural characters). A convenient swap button lets you quickly switch between encoder and decoder modes.