URL Encoder & Decoder - Encode and Decode URLs Online
Free online URL encoder and decoder. Encode special characters for URLs or decode percent-encoded strings. Supports full URL and component encoding.
Common Encodings
| Character | Encoded | Description |
|---|---|---|
| (space) | %20 | Space character |
| & | %26 | Ampersand |
| = | %3D | Equals sign |
| ? | %3F | Question mark |
| / | %2F | Forward slash |
| # | %23 | Hash/Fragment |
| @ | %40 | At sign |
| + | %2B | Plus sign |
URL Encoding Quick Reference
- • Space becomes %20 (or + in form data)
- • Reserved characters: ! # $ & ' ( ) * + , / : ; = ? @ [ ]
- • Unreserved characters (not encoded): A-Z a-z 0-9 - _ . ~
- • Non-ASCII characters are first encoded as UTF-8, then percent-encoded
About This Tool
What is URL Encoding?
URL encoding (also called percent-encoding) converts special characters into a format that can be safely transmitted in URLs. Characters like spaces, &, =, and non-ASCII characters are replaced with % followed by their hexadecimal value.
When to Use URL Encoding
• Query string parameters with special characters
• Non-ASCII characters in URLs (international characters)
• Reserved characters used as data (not delimiters)
• Form data submission (application/x-www-form-urlencoded)
encodeURI vs encodeURIComponent
encodeURI encodes a full URL but preserves characters like :, /, ?, #, &. encodeURIComponent encodes everything except A-Z, a-z, 0-9, and - _ . ~, making it suitable for encoding individual URL components.
Frequently Asked Questions
What is URL encoding?
Why do URLs need encoding?
What's the difference between encodeURI and encodeURIComponent?
Why is my space encoded as + or %20?
Can I encode non-English characters?
Is this tool safe to use?
Related Tools
Free Base64 Encoder Decoder Online - Encode & Decode Base64
Free online Base64 encoder and decoder. Convert text to Base64 and decode Bas...
Free Color Picker - HEX RGB HSL Converter & Palette Generator
Free online color picker with format conversion. Convert between HEX, RGB, HS...
Free Diff Checker - Text Compare Tool
Free online diff checker. Compare two text files side by side or inline. Find...
Free Hash Generator - MD5 SHA-256 SHA-512 HMAC Calculator
Free online hash generator. Calculate MD5, SHA-1, SHA-256, SHA-512 hashes. Ge...
Free JSON Formatter & Validator Online - Pretty Print JSON
Free online JSON formatter, validator, and beautifier. Format, minify, and va...
Free JWT Encoder / Decoder - Sign, Verify & Inspect Tokens
Free online JWT Decoder and Encoder. Decode, inspect, verify signatures, edit...
Free Lorem Ipsum Generator - Paragraphs, Sentences, Words
Free online Lorem Ipsum placeholder text generator. Generate paragraphs, sent...
Free Online QR Code Generator - Create Custom QR Codes
Free online QR code generator. Create QR codes for URLs, text, WiFi, vCards. ...
Free & Unlimited TikTok Video Downloader Without Watermark
Download any TikTok video without watermark online for free. Fast, secure, an...
Free Unix Timestamp Converter Online - Epoch Time Tool
Free online Unix timestamp converter. Convert epoch time to date, seconds to ...
Free UUID Generator Online - v1, v4, v5, v7 & Bulk Generate
Free online UUID/GUID generator. Generate UUID v1, v4, v5, v7 and Nil UUIDs. ...
Free Word Counter - Character & Text Analyzer
Free online word counter and text analyzer. Count words, characters, sentence...