Base64 encoding transforms binary data into ASCII text. Used to embed an image in HTML (<img src="data:image/png;base64,...">) without an external file, or to transmit data in a text-only format.
Free, no account required, browser processing and no server upload.
Base64 encoding transforms binary data into ASCII text. Used to embed an image in HTML (<img src="data:image/png;base64,...">) without an external file, or to transmit data in a text-only format.
Overhead by type
PNG image 100 KB
100 KB
~136 KB
+36%
Small SVG icon 2 KB
2 KB
~2.7 KB
+36%
String "Hello"
5 B
8 B
+60%
A 100 KB PDF becomes ~133 KB in Base64. Encoding increases size by about 33%. For large files, prefer a regular URL over a data URI.
Base64 is not encryption: anyone can decode the string instantly. Never use it to protect sensitive data.