Convert text or small files to and from Base64 locally and securely.
Use our Base64 converter to safely encode binary data into a text-based format. This is commonly used for embedding images directly into HTML or CSS files to reduce HTTP requests.
Paste your raw text or upload an image. The tool will generate a Base64 string or a Data URI that you can use immediately in your <img> tags.
Paste a Base64 encoded string into the decoder to retrieve the original plain text or file data.
background-image: url() for small icons.