DevTools Logo

URL Encoder/Decoder

URL Encoder/Decoder

Encode and decode URLs with multiple modes and comprehensive analysis

Input & Settings

Common Use Cases

Basic URL Encoding

Encode spaces and special characters in URLs.

Original: https://site.com/search?q=hello world
Encoded: https://site.com/search?q=hello%20world

Path Parameters

Safely encode path segments with special characters.

Original: /users/john doe/profile
Encoded: /users/john%20doe/profile

Details

This tool helps you convert special characters into URL-safe format and vice versa. It's particularly useful when working with URLs containing special characters, spaces, or non-ASCII characters like Turkish letters (ğ, ş, ı, etc.). URL encoding replaces unsafe ASCII characters with a '%' followed by two hexadecimal digits.

More Examples

Encoding Special Characters in URLs

Original: https://example.com/search?q=mavi kalem&category=kırtasiye
Encoded: https://example.com/search?q=mavi%20kalem&category=k%C4%B1rtasiye

Spaces are converted to %20, and Turkish characters like 'ı' are encoded to their UTF-8 representation.

Encoding Turkish Domain Names

Original: https://örnek.com/ürünler
Encoded: https://%C3%B6rnek.com/%C3%BCr%C3%BCnler

Turkish characters in domain names and paths are encoded: 'ö' becomes %C3%B6, 'ü' becomes %C3%BC

Encoding Email Addresses

Original: örnek@şirket.com
Encoded: %C3%B6rnek@%C5%9Firket.com

Email addresses with special characters can be encoded for use in URLs or HTML attributes.

Encoding Query Parameters

Original: product=Beyaz Eşya&price=1000₺&filter=çamaşır makinesi
Encoded: product=Beyaz%20E%C5%9Fya&price=1000%E2%82%BA&filter=%C3%A7ama%C5%9F%C4%B1r%20makinesi

Query parameters often need encoding to handle spaces, currency symbols, and special characters correctly.