● Encoding & Decoding

URL Encoder & Decoder

URL Encoding (Percent-encoding) is a mechanism for encoding information in a Uniform Resource Identifier (URI). Characters that are not allowed in a URL (like spaces, emojis, or reserved characters like '?') must be translated into a safe format. For example, a space becomes '%20'. This tool ensures your strings are safe to pass as query parameters in web requests, preventing broken links and API errors.

Your text never leaves your browser. Everything is processed locally.

Enter your content

Input

0 characters

Encoded Output

0 characters

URL Encoding/Decoding Encode

URL encode/decode for web parameters

How this tool works Documentation & SEO

URL Encoding (Percent-encoding) is a mechanism for encoding information in a Uniform Resource Identifier (URI). Characters that are not allowed in a URL (like spaces, emojis, or reserved characters like '?') must be translated into a safe format. For example, a space becomes '%20'. This tool ensures your strings are safe to pass as query parameters in web requests, preventing broken links and API errors.

Encode and decode URLs instantly. Convert reserved characters to %20 percent-encoded format for safe web transmission. Essential for API testing.

Frontend Developers debugging query parameters
API Engineers testing GET requests with special characters
Digital Marketers fixing tracking links (UTM params)
QA Testers verifying input sanitization
SEO Specialists cleaning up permalinks
Key features
  • Converts unsafe characters to percent-encoded format
  • Decodes encoded URLs back to readable text
  • Compliant with RFC 3986 standards
  • Handles complex symbols and emojis
  • Instant live conversion
  • No server logging for privacy
Frequently Asked Questions FAQ
Why do spaces become %20?
URLs cannot contain spaces. The ASCII code for a space is 32 (in decimal) or 20 (in hexadecimal). The '%' acts as an escape character, so '%20' literally means 'Hex ASCII character 20'.
What is the difference between + and %20?
Historically, '+' was used to encode spaces in query strings of URLs (like in form submissions), while '%20' is used in the path component. This tool allows standard percent-encoding which covers all bases.
Does this handle UTF-8 symbols?
Yes. If you encode an emoji or international character (like 'ñ'), it will be converted to its UTF-8 byte sequence in hex, percent-encoded (e.g., 'ñ' becomes '%C3%B1').