Online base64 image encoder
Instead of referencing an image by its URL, you can also display images on web pages by embedding the base64 encoded string as the src-attribute. This does make your HTML page heavier and the browser will not be able to cache the image as it normally would when referencing by URL. Though it's not recommended to embed images like this, there are some usecases where base64 encoded images are useful.
Use the form by selecting any file and the base64 string will be generated and placed below for easy copy/pasting. The files are not uploaded to any server. The encoding happens in the browser on your machine. If this tool doesn't work, the file is probably too large.