A tool to convert an image to Base64 data URL, which can be embedded in HTML or SVG.
- Obtain the URL from your image, clicking the Convert image button.
- Copy it.
- Embed the image:
-
in SVG:
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <image href="(YOUR URL)" /> </svg>
-
in HTML:
<!DOCTYPE html> <html> <head> ... </head> <body> <img src="(YOUR URL)" /> </body> </html>
-