Posted comments (9)

Posted by George at March 4, 2013 19:27:33 CET
It's a really great and useful app, but i cannot understand how it's base-64, if: A-Z=26 characters, a-z=26 chars, 0-9=10 chars, ("+", "/", "=")=3 chars, SUM=65 chars. Am i missing something? I guess the program behaves like a disk/hex editor, but instead of presenting the data in binary or hexadecimal, it presents it in base-64 in a particular encoding. If so, i imagine this could work for ANY file and not just images and music files. I could also suggest the usage of unicode chars, so that the app could take advantage of more chars and have a base-128 encoding, making the resulting text more compact. Please, answer if i am right on these, i would like to know more about it. Thanks and keep up the good work, starter programmers like me gotta love this site.
Posted by Ed Gc at June 9, 2013 22:13:13 CEST
Posted by Lars Gyrup Brink Nielsen at June 27, 2013 06:25:23 CEST

'=' is not considered part of the Base64 alphabet; it is used for padding only. This service provides Base64 encoding as it is usable in a lot of web applications, e.g. embedded HTML objects, email headers, etc.

There is a lot of material about this online as well as in books :-)
Posted by Steve at August 10, 2014 15:09:27 CEST
For those looking to use SVG's in CSS after converting the SVG to base64 you do something like this:

.logo {
background: url(data:image/svg+xml;base64,PD94bWwgd...);
Posted by Ramya at March 24, 2015 14:26:26 CET
your data is nice. Please tell me that how the key is generated?
Posted by Sergey at July 21, 2015 18:14:00 CEST
Awesome tool! Had some trouble finding the 'download file' button after entering in a base64 string and clicking 'Convert'. Took me a few clicks to realize the button was appearing WAY DOWN there...
Would be nice if it was moved up, or it was made clear to expect the button down there.
Posted by Jonathan at November 27, 2015 16:16:33 CET
If you copy an encoded image (I used svg) in a sass file (as source for a background image), you get the warning below:

DEPRECATION WARNING on line 192, column 31 of /Users/x/Desktop/Projekte/Eidsecondos/wp-content/themes/baylys-child/style.scss:
Unescaped multiline strings are deprecated and will be removed in a future version of Sass.
To include a newline in a string, use "\a" or "\a " as in CSS.

Would be nice if there was an update to handle this!
Posted by Mike at March 1, 2016 12:04:37 CET
The base64 string must be url encoded for this to work as a css background image.
Posted by Sujata at November 20, 2020 10:58:59 CET
svg to base64 encoded data is not displaying in Outlook 2016.Appriciate any help.