Base64 encoder and decoder

Base64 carries any text through systems that only accept letters and digits: headers, data URIs, tokens. Encode or decode it here, emoji and accents included.

How it works

  1. Paste the text or the Base64 string.
  2. Choose Encode or Decode.
  3. Press Convert and copy the result.

Is Base64 encryption?

No. Anyone can decode it. It changes how data is written, not who can read it, so never use it to hide a secret.

What is URL-safe Base64?

A variant that writes - and _ instead of + and / and drops the = padding, so the string can sit in a URL or a file name. JSON Web Tokens use it.

Can it decode files or images?

This tool decodes text. If the bytes are not text (an image, a PDF) it says so instead of printing noise.

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 Base64
  • mode ("encode" | "decode", optional): Action
  • url_safe (true | false, optional): URL-safe variant (encoding)

A call that works

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

{
  "input": {
    "text": "Hello, Orkosi! Olá 👋",
    "mode": "encode"
  }
}

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