Turning a JPEG into a data URL does not necessarily discard the information stored alongside its pixels. An embedded creator name or image description can remain in the encoded file even though it is absent from the visible picture.
Before creating an image data URL for sharing, inspect a local copy with a metadata-aware image application. The Image to Base64 Converter encodes the selected file; it does not provide a metadata-removal control.
Review the file beyond its visible picture
A preview shows the image, not an inventory of its embedded fields. EXIF information can include text fields such as Artist and ImageDescription, listed in the official ExifTool EXIF tag reference. Check the metadata panel or inspector in your local application rather than deciding from the picture alone.
Keep the original separately. Decide which embedded information belongs in the sharing copy. If a field should be omitted, use an editor or metadata tool that can change that field, save a separate copy and reopen it to check the result. A filename change or a smaller preview does not establish that a tag was removed.
Inspect the saved picture too. Preparing a new copy can affect other properties of the image; do not assume that every editor export keeps the same pixels or orientation.
Understand what image Base64 encoding preserves
The current converter uses the browser’s FileReader.readAsDataURL() method to read the file. MDN documents that method as producing a Base64 data URL representing the file’s data. The tool does not first redraw the picture or offer an EXIF field editor.
Its data URI, HTML image tag and CSS background rule all contain the same encoded image data. Choosing a different output wrapper is therefore not a way to remove embedded tags. A normal-looking preview also cannot confirm that the information you meant to omit is absent.
What the two-file check showed
We created a synthetic 160 by 100 pixel JPEG and a paired copy with two fictional EXIF values. The JPEG image data was not re-encoded when those tags were added. An independent decoder confirmed that both files contained the same decoded RGB pixels.
We selected each file in a local browser running the current converter code, recovered the image bytes from its generated data URL and inspected the recovered JPEG independently:
| Selected copy | Recovered Artist | Recovered ImageDescription |
|---|---|---|
| Copy with the two fictional tags | Fixture Photographer | Demonstration caption |
| Copy without those two tags | Absent | Absent |
Each recovered file matched its own selected input byte for byte. The tagged file was 4,037 bytes and the other copy was 3,945 bytes. Encoding preserved the two fields when they were present and did not add them when they were absent. Pixel equality alone would not have revealed the difference.
This test covers two fictional fields in one JPEG pair. It is not a test of every metadata field, image format or editor, and the second copy is not a general example of a file with all metadata removed.
Encode the inspected sharing copy
- Finish the local metadata review before selecting a file in the converter. Reopen the saved sharing copy and confirm the fields you intended to change.
- Select that exact copy using Choose an image. The current displayed tool limit is 20 MB.
- Check the filename beneath the preview so you do not accidentally encode the original instead.
- Use Copy data URI, Copy img tag or Copy CSS rule for the destination you need. The underlying image bytes are the same across these forms.
- If you independently recover a file from the final data URL for verification, inspect its metadata as an image file. The long encoded string and the rendered preview are not substitutes for that check.
Removing these two tags would not by itself establish that an arbitrary image is suitable for sharing. Review the visible content and other relevant embedded information in the actual copy. For the separate HTML placement step, follow the guide to using a complete image data URL.