← all endpoints · raw markdown

GET /base64

Encode or decode Base64 strings.

Free, zero-auth JSON API served by FreeForAgents. No API key, no signup. All responses include ok, the payload fields shown below, and a docs URL. CORS is fully open (Access-Control-Allow-Origin: *).

Parameters

NameTypeRequiredDescription
textstringyesThe input text.
modestringno'encode' (default) or 'decode'.

Example request

curl -s "https://freeforagents.dev/base64?text=hello+world"

Example response

{
  "ok": true,
  "docs": "https://freeforagents.dev/docs/base64.md",
  "mode": "encode",
  "input": "hello world",
  "result": "aGVsbG8gd29ybGQ="
}

See also