Base64 encoder and decoderConverters

Base64 encoder and decoder. Text, files and URL-safe Base64.

Encode text as UTF-8 then Base64, or open a file to get its Base64 and a data URL. Decode works with standard or URL-safe input, with or without padding, and saves binary data as a file.

Cost to you

Free

Runs in your browser. No signup, no API call, no limit per hour.

browser
runs in
none
API calls
none
account

Use it now

Use the Base64 encoder and decoder here

It runs in your browser. Nothing you type is sent anywhere, there is no signup and no limit.

Loading the tool.

Run it from your agent

Copy one prompt, give it to your agent.

Fill in the placeholder, paste it, and the agent runs the same job with current data on your looot account and shows the cost.

  • You give it: text, a file, or a base64 string.
  • Billed per call, nothing while your agent is idle.
  • The agent shows the price before it calls.
Prompt: Base64 encoder and decoder
Use looot to run this catalog endpoint and save the file it returns: [endpoint]. 1. Set up https://looot.ai/skill.md. 2. Read the endpoint's parameters and price before you call. 3. Run it. 4. If a field holds Base64 data, decode it, guess the file type from its first bytes and save it with a matching extension. 5. Return the file name and size.

Give this to your agent
Setup command
set up looot - https://looot.ai/skill.md

What comes back

What your agent gets from base64 encoder

Field names as the providers return them. The exact set varies by endpoint, and your agent reads it from the catalog.

  • Base64 text
  • decoded text
  • data URL of a file
  • decoded file download
  • size in characters and bytes

Use it for

What people do with base64 encoder

  • Auth headers

    Build or read a Basic auth header value.

  • Data URLs

    Inline a small icon or font in CSS or HTML as a data URL.

  • Read a payload

    Decode a Base64 field from an API answer, a webhook or a config file.

  • Save a file

    Turn Base64 image or PDF data back into a file you can open.

Set up once

Three steps. Your agent does the rest.

Keep going

FAQ

Questions about base64 encoder

Switch to Decode and paste the Base64. The text appears below. If the bytes are not text, such as an image, the page shows the first bytes in hex and offers the file as a download.

A variant that uses - and _ instead of + and /, so the result can sit in a URL or a file name. JWTs use it without padding. The decoder accepts both forms.

Yes. Text is encoded as UTF-8 before Base64, so every character survives the round trip. The browser's own btoa function fails on those characters, which is a common bug this avoids.

Yes, files up to 10 MB. Use Encode a file to get the Base64 text and a data URL you can paste into HTML or CSS.

No. It is an encoding anyone can reverse. Never treat Base64 as a way to hide a password or a key.

Base64 writes every 3 bytes as 4 characters, so the output is about a third larger than the input.

No. Files are read and encoded in your browser and never leave your machine.
For agents
tool
Base64 encoder and decoder
category
Converters
input
Text, a file, or a Base64 string
output
Base64 text, decoded text, data URL of a file, decoded file download, size in characters and bytes
price
per call, read live from the catalog on the web page
web tool
runs in the visitor's browser, no API call, free and unlimited
schedule
on demand
setup
https://looot.ai/skill.md
llms.txt
https://looot.ai/llms.txt
updated
2026-10-14

Run base64 encoder from your own agent.

Start your workspace, top up, and paste the prompt into the agent you already use. It runs the job with live data and shows the cost first.