URL Encoder / Decoder

Encoding /url

Encode or decode either full URLs or individual URL components without destroying the source text.

Transfer
Local only
Limit
5 MiB input
Component encodes the entire string. Use it for query values, fragments, or nested URLs.
Source text remains unchanged if decoding fails.
Encoded
Encoded or decoded output will appear here.
Choose a mode and an action. Output follows as you type. 1 line 58 B local only

How it works

Encode or decode full URLs and URL components without overwriting your source text.

Use it before placing a URL or value inside a path, query parameter, or fragment.

Example

Encode “JSON formatter” as JSON%20formatter in component mode.

Notes

  • Full URL mode leaves reserved URL characters intact where appropriate.
  • Component mode is meant for query values, fragments, and other partial strings.
  • Decode errors leave the source input untouched.

Constraints

  • Full-URL and component modes follow native browser URI encoding rules.
  • Limit: 5 MiB input. Nothing is uploaded or silently truncated.

Common errors

  • Malformed percent escapes
  • Using full-URL mode for a component
  • Double encoding

When to use it

Use it before placing a URL or value inside a path, query parameter, or fragment.

Formats: Full URL, URL component, UTF-8 text.

Reference

WHATWG URL Standard

Substantively reviewed .