URL Encoder & Decoder

Encode special characters for URLs or decode percent-encoded strings back to readable text. Supports component and full URL modes.

Live
Type or paste a URL to encode/decode
component 0 encoded 0 chars
Input
Output
Character Breakdown
Encode a string to see which characters get percent-encoded

Why developers use this URL encoder

Live encode/decode

See results as you type. No buttons to click. Live mode auto-detects whether to encode or decode based on your input.

🔀

Two encoding modes

Component mode uses encodeURIComponent (encodes everything). Full URL mode uses encodeURI (preserves ://?#&= characters).

🔎

Character breakdown

See exactly which characters got encoded and what they were replaced with. Understand percent-encoding at a glance.

🔒

100% client-side

Your URLs and data never leave your browser. Safe for encoding API endpoints, tokens, and query parameters.

📄

Swap & verify

Swap input/output to verify round-trip encoding. Make sure your encoded URLs decode back correctly.

📥

Copy & download

One-click copy to clipboard or download as a text file. Paste encoded URLs directly into your code.