Accepts plain or URL-safe Base64, data URIs, JWTs, PEM blocks and
{"data": "…"} — spaces, line breaks and missing padding are fixed for you.
Text
This looks like Base64 already.
Base64
Size
Base64 turns every 3 bytes into 4 characters, so output is about a third larger.
- Input
- –
- Output
- –
- Change
- –
How your first 3 bytes map
24 bits are regrouped into four 6-bit numbers, each picking one of 64 characters.
Ctrl + Enter copy outputAlt + S swapEverything runs in your browser. Nothing is uploaded.
Copy each result in the form you need.
Turning Base64 back into a file
Paste it into Text → Decode. Images, PDFs and other binary files are recognised and can be downloaded with the right extension.
Paste two Base64 values to check whether they hold the same data. Formatting differences — line breaks, padding, URL-safe characters, data URI prefixes — are ignored.
A
B
History
Kept in this browser only. Copies, downloads and saves from the Text tab appear here.