URL Tools

URL Encode Decode Tool

Encode or decode URLs instantly. Convert spaces to %20, fix unsafe URL characters, and decode encoded URLs online.

  • Runs in your browser
  • No account required
  • Copy-ready output

Input

Paste text or encoded URL content, then choose an action
URL

Output

Copy-ready result
Result

Encode spaces, Chinese, and special symbols

Decode percent-encoded URL components

Use standard percent-encoding

Prepare or inspect query values for URLs and API requests

Notes

How this tool handles your input

This URL Encoder and URL Decoder converts unsafe URL characters into percent-encoded text and turns encoded text back into readable values. Use it to encode URL online or decode URL online when you are working with spaces, query strings, callback URLs, and copied links from logs.

How to use

  1. Paste URL text, a query value, or percent-encoded text.
  2. Click Encode to create URL-safe text or Decode to read encoded text.
  3. Copy the result into your URL, request, or notes.

Good for

  • Convert spaces to %20 before sharing a link
  • Fix URL with spaces before sharing or sending it
  • Decode messy query strings from logs
  • Encode callback URLs and search parameters
  • Check values before pasting them into an API request

Examples

Convert spaces to %20

Input
developer tools
Output
developer%20tools

Fix a URL query with spaces

Input
https://example.com/search?q=url space encoder
Output
https%3A%2F%2Fexample.com%2Fsearch%3Fq%3Durl%20space%20encoder

Decode an encoded URL value

Input
callback%3Dhttps%3A%2F%2Fexample.com%2Fdone%3Fok%3Dtrue
Output
callback=https://example.com/done?ok=true

FAQ

Does this encode the whole URL?

It applies encodeURIComponent-style encoding, which is best for query values and text fragments.

Why are spaces converted to %20?

Percent-encoding represents spaces as %20 so the value can travel safely inside a URL.

Can I use this as a URL space encoder?

Yes. Paste text or a URL value with spaces, then encode it. Spaces become %20 and other unsafe characters are encoded too.

Why do some strings need decoding twice?

Some systems encode values more than once. This tool decodes one layer each time you run it.

Is my data uploaded to a server?

No. The tool runs in your browser, so the text you paste stays on your device.