Skip to Content.

Base64 Converter

Text or an image in, Base64 out, and back again. UTF-8 safe, with URL-safe output and ready-to-paste snippets.

Data
Direction

In

Out

Paste as

Good to know

It is a third bigger

Base64 spends four characters on every three bytes. Inlining an image saves a request but adds a third to its size, so it pays off for small icons, not photos.

URL-safe is a different alphabet

Swapping + and / for - and _ lets Base64 sit in URLs, file names and JWTs. Decoding here accepts either alphabet, with or without the = padding.

It is not encryption

Anyone can decode Base64, so it hides nothing. Treat an encoded secret as if it were plain text.