🔗

URL Encoder / Decoder

Encode and decode URLs in real-time — bidirectional, two modes, diff highlighting. 100% local.

Examples:
Decoded (plain text)
0 chars
Encoded (URL-safe)
0 chars
Diff — encoded characters highlighted 0 changes
Start typing to see which characters get encoded.

How it works

1
Choose a mode
URL Component encodes everything except letters, digits and -_.!~*'(). Full URL mode preserves protocol, slashes and query separators.
2
Type on either side
Editing the plain-text side encodes in real-time. Editing the encoded side decodes instantly. Both directions work simultaneously.
3
Read the diff
The highlighted diff shows exactly which original characters were replaced by %xx sequences, with a count and percentage.
4
Copy or swap
Use the Copy buttons to grab either side, or hit Swap to flip the panes. Try the preset examples to explore common patterns.