Nano Banana 2.1 is LIVE — Google's Latest | Try Now →
WAVESPEED AI BASE64 Works in your browser
100% FREE

Free Base64 Encoder & DecoderText, files, images and data URIs.

Encode text in any common character set, or turn a file into Base64 or a ready-to-paste data URI.
Decode Base64 back to text or a file: images are previewed, everything else is shown as hex.

Files up to 100 MBURL-safe & data URIsImage preview
No sign-up No upload No limits
Or try an example

Output

0 bytes → 0 characters

Text and files are encoded and decoded in this browser tab and never leave your device.
THREE SIMPLE STEPS

How to encode and decode Base64

01

Choose encode or decode

Type or paste text, drop a file to encode, or paste Base64 or a data: URI to decode.

02

Pick the options

Choose the character set, URL-safe output, padding, line length or a data URI snippet.

03

Copy or download

Copy the result, or download the decoded file with the right extension.

WaveSpeed AI

Building something with an API?

Generate images, video and 3D models from your own code with WaveSpeed AI.

  • 1,000+ AI models
  • Image, video and 3D
  • Pay as you go

$1 in free credits for eligible new accounts. No card needed. Generators have separate account and credit requirements. The Base64 encoder is free.

Base64 FAQ

Is this Base64 tool free?

Yes, with no account and no limits other than a file size of 100 MB.

Are my files uploaded?

No. Encoding and decoding happen in your browser tab, so files and tokens stay on your device.

What is URL-safe Base64?

The same encoding with - and _ in place of + and /, often without = padding, so it can go in URLs, file names and tokens. Decoding accepts both alphabets, with or without padding.

Why is the encoded text larger?

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

Which character sets are supported?

Encoding: UTF-8, UTF-16 (both byte orders), ISO-8859-1, Windows-1252 and ASCII. Decoding also reads Shift_JIS, EUC-JP, GB18030, Big5, EUC-KR, Windows-1251 and KOI8-R.

What does the decoder do with files?

It recognises common types from their first bytes (PNG, JPEG, GIF, WebP, AVIF, SVG, PDF, ZIP, audio, video and fonts), previews images and offers the file for download with the matching extension. Other data is shown as a hex dump.

Is Base64 encryption?

No. Anyone can decode it. Use it to carry data through text-only channels, not to hide it.

All Free Tools

Base64 in both directions.

Free, private and without sign-up.

Encode or decode