woori.today
Family Sites

URL Encoder and Decoder

Encode text for a URL or decode percent-encoded text.

URL Encoder and Decoder: Input / Result

Input

tea & coffee

Result

tea%20%26%20coffee

How it works

Uses encodeURIComponent to percent-encode one URL component, or decodeURIComponent to restore it.

A practical use

Encode spaces, slashes, and non-ASCII characters in a query value before adding it to a URL.

When something goes wrong

Malformed percent escapes or invalid UTF-8 fail during decoding. Treat a component separately from a full URL.

Tool-specific question

Should I encode an entire URL with this tool?

Usually not. Encode individual path or query components as needed.

How to use

  1. Enter an input or choose settings; you can start with hello world.
  2. Enter code or structured data, then set the format, pattern, or conversion direction.
  3. Run URL Encoder and Decoder, then compare the result with the example hello%20world before copying or downloading it.

Options

The input area shows the accepted format and available controls for this tool.

Privacy

No. Your input is handled in the browser you are using. Privacy

Related tools