URL Encoder Decoder
Encode or decode URL strings for safe web transmission.
You might also need
How It Works
Encodes special characters using percent encoding: replaces unsafe characters with % followed by two-digit hex code. Spaces become %20.
Formula
Percent-encoding RFC 3986Quick Reference
Common calculations — results you can verify instantly.
Space character
ASCII 32
%20
Ampersand &
ASCII 38
%26
Hash #
ASCII 35
%23
Forward slash /
Path separator
%2F in query only
Tips & Shortcuts
Use encodeURIComponent for query string values.
Use encodeURI for full URLs preserving : / ? and other URL characters.
Common Mistakes
Double encoding already-encoded URL
Encoding %20 again produces %2520. Check if already encoded first.
Using URL encoding for form data
HTML forms use + for spaces not %20.
Frequently Asked Questions
Spaces, special chars (&, =, ?, #, %, +), and non-ASCII all need encoding.
%20 is standard percent-encoding. + for space used only in form data (application/x-www-form-urlencoded).
Related Calculators
Hex Calculator
Perform arithmetic in hexadecimal and convert between bases.
Unix Timestamp Converter
Convert Unix timestamps to human-readable dates and back.
Bandwidth Calculator
Calculate network bandwidth, download time, and transfer rate.
GPA Calculator
Calculate cumulative GPA from grades and credit hours.
Grade Calculator
Calculate your final grade from assignments and weights.
Fuel Cost Calculator
Estimate the total fuel cost for any trip based on distance, fuel price and efficiency.