Home Text Tools Encoding Hashing Generators Developer Converters Text Styles Image Tools

URL Encode / Decode

Encode special characters for URLs or decode percent-encoded strings back to readable text.

All processing happens in your browser. No data is sent to any server.
Input 0
Output 0

How It Works

URL encoding (also called percent-encoding) replaces unsafe characters in URLs with a % followed by two hexadecimal digits. For example, a space becomes %20 and an ampersand becomes %26.

encodeURIComponent encodes all special characters except - _ . ! ~ * ' ( ). Use this for encoding query parameter values.

encodeURI preserves characters that are valid in a full URI (like :, /, ?, #). Use this for encoding a complete URL while keeping its structure intact.