Base64 & URL Encode
Encode and decode text as Base64, Base64URL or URL (percent-encoding), with full Unicode support.
The link keeps what is on screen.
Output
How is it calculated?
See the code ↗Processed in your browser; nothing is sent.
⌨️ Use from the terminal (JSON)
This tool also runs outside the site: the cli.js script uses the same logic as this page and returns the result as JSON. Parameters are the same as this page's URL — copy the command below with the values on screen.
Deno
deno run -q "https://thecodecodex.com/cli.js?tool=base64"
Node.js / Bun
curl -s https://thecodecodex.com/cli.js | node --input-type=module - base64 text=…
| Parameter | Description | Default |
|---|---|---|
| text | texto | — |
| op | encode | decode | encode |
| fmt | base64 | base64url | url | base64 |
Requires Deno, Node.js or Bun. With Deno the script runs with no permissions: it cannot read files or access the network. Central Bank indicators are from the day the site was published.