Skip to content
Schedule a Call

Encode or decode a URL

Encode text for safe use in URLs or decode percent-encoded strings, with component and full-URL modes. Swap and copy in one click. Free.

  • Files never leave your device
  • Free, no sign-up
  • No watermark
Loading tool…

About URL Encoder & Decoder

Make text safe to put in a URL, or turn a percent-encoded string back into readable text. Choose component mode, which works like encodeURIComponent and encodes everything for query parameter values, or full-URL mode, which works like encodeURI and keeps the URL structure intact. Swap input and output, copy the result and move on.

How to use URL Encoder & Decoder

  1. 1

    Paste text or a URL.

  2. 2

    Choose encode or decode.

  3. 3

    Pick component or full-URL mode.

  4. 4

    Copy the output.

Why use this tool

  • Encode and decode in one place.
  • Component and full-URL modes.
  • Swap input and output.
  • Clear error for invalid percent sequences.
  • Instant results.

Frequently asked questions

For values inside a query string, such as ?q=hello%20world, so characters like & and = are encoded.

For a whole URL that should keep its ://, ?, & and # characters.

URLs cannot contain spaces, so they are percent-encoded. In form data a space may also appear as +.

Yes. Sequences such as %C3%A9 decode to é.

Replacing unsafe characters with % followed by their hexadecimal byte value.

No. Everything is processed in your browser tab. Nothing you type or paste is sent to CodeMites or any other server.

Yes. There is no account, no watermark and no usage limit. The tool runs in your own browser, so there is no server cost to charge you for.

Yes. It runs in any modern browser on Android and iOS as well as on Windows, macOS and Linux, with nothing to install.

Yes, once the page has loaded. Everything runs in your browser, so you can keep working on a train or plane without a connection.

No. URL encoding replaces unsafe characters with %XX codes, while Base64 re-encodes the whole value.