Skip to main content

Base64 encoder & decoder

Encode text and files as Base64, or decode Base64 into text and files
Text is converted to UTF-8 bytes before Base64 encoding. To encode bytes from another text encoding, use the file encoder.

Encode text as Base64

Enter text to encode:

Encode or decode with 64baser

Carrying binary data as Base64 text

Base64 represents each complete three-byte block with four characters from a 64-character alphabet. A shorter final block uses = padding. The format appears in MIME email, data URLs, HTTP Basic authentication, and PEM-style files; JWT uses the related base64url alphabet. For long inputs, the encoded data is about one third larger before line wrapping or other protocol overhead.

Related

Check out our Apify actor for web scraping.

Powered by Trafilatura Core, an open-source content-extraction engine that pulls the main content from web pages while filtering out boilerplate like navigation, ads, and sidebars.

Ideal for building RAG pipelines, training datasets, or content analysis at scale.


Did you know? Apify offers a free tier — you get $5 to use monthly.


Apify also has a super generous Creator plan (though you can run only your own actors) that costs just $1/month (billed $6 semi-annually) and includes a one-time $500 platform credit for your first 6 months — with up to 32 GB RAM and 32 concurrent actor runs.