URL encoder and decoder

Spaces, ampersands and accents break a link unless they are percent-encoded. Encode a value before you put it in a query string, or decode a link to see what it really says.

How it works

  1. Paste the text or the URL.
  2. Choose Encode or Decode and what you are encoding.
  3. Press Convert and copy the result.

A query value or a whole URL: what is the difference?

A query value has every reserved character encoded, including / ? & and =. A whole URL keeps those, because they are its structure.

Why is a space sometimes + and sometimes %20?

Forms write a space as + in the query string; everywhere else it is %20. When decoding a query value, this tool reads both as a space.

Why does decoding fail?

A % must be followed by two hex digits. A stray % sign, often from text that was never encoded, cannot be decoded.

Use it from ChatGPT, Claude or your own agent

This tool is also a function an AI agent can call for you. It needs the same free account as this page, nothing else.

Fields

  • text (text, required): Text or URL
  • mode ("encode" | "decode", optional): Action
  • scope ("component" | "url", optional): What is it

A call that works

POST https://orkosi.com/api/v1/public/tools/url-encoder/run
Authorization: Bearer <api_key>

{
  "input": {
    "text": "café & crème / 100% français",
    "mode": "encode",
    "scope": "component"
  }
}

Need an account? One request creates it and answers the key: POST https://orkosi.com/api/v1/public/signup. In Claude or ChatGPT, add the Orkosi connector and sign in: https://orkosi.com/api/v1/public/mcp.

This tool as Markdown · Connect an AI assistant