Developer Tools

URL Encode & Decode

Convert text to and from URL percent-encoding, handling spaces, symbols and Unicode.

name%3DJohn%20Doe%26city%3DS%C3%A3o%20Paulo

How to use it

  1. Choose encode or decode Use the toggle.
  2. Paste your text Type or paste it in.
  3. Copy the result Press Copy.

Examples

a b&c a%20b%26c
%20 (space)

About this tool

URL encoding (percent-encoding) replaces characters that have special meaning or aren’t allowed in web addresses with a percent sign and a hex code. It keeps query strings and links valid when they contain spaces, symbols or non-English text.

This tool encodes text for safe use in a URL and decodes encoded URLs back into readable text. It runs entirely in your browser.

Frequently asked questions

What is URL encoding?

It replaces characters that aren't safe in URLs with a percent sign and hex code — for example a space becomes %20 and an ampersand becomes %26.

When do I need it?

When putting text into a URL query string or link, so that spaces and symbols don't break the address.

Related tools

Updated June 12, 2026