tags:

views:

34

answers:

2

I need to convert some images to base64 for embedding into my CSS... anyone know a simple site that will allow me to simply enter a URI and have it convert so I can copy-paste into my code?

+4  A: 

Yes, funny that you answered a question of mine and now I can answer yours. :-)

I am sure there are many other sites that can do this, but I like to use:

http://www.greywyvern.com/code/php/binary2base64

It is reeeeealy simple. You enter the URI of the image you want to convert and it displays the converted code into the box, ready to be copy-pasted into your CSS!

I use it all the time.

henkojinko
+2  A: 

http://www.motobit.com/util/base64-decoder-encoder.asp

antyrat
Doesn't let you enter a URL does it?
Martin Smith
You can click brose, and then enter url into pop-up file picker field. That all.
antyrat
that's not a URL!
Martin Smith
But you can insert url to it either. Just try.
antyrat
@antyrat. I never knew you could do that! Aplogies...
Martin Smith
@Martin Smith Nothing worry. I myself learned about this about month ago ;)
antyrat