Local StudioDEVELOPER TOOLS Data URI Generator
100% Offline Download Tool Tools Catalog

Data URI Generator

Encode a local raster image or plain text as a data URI. Check its MIME type and byte size, then copy or download the literal text.

Choose Input and Encoding

Instructions

  1. Choose a local raster image or UTF-8 text file, or paste plain text. Open Sample uses a small PNG.
  2. Confirm the MIME type and encoding, then check the resulting URI size.
  3. Copy the full URI or use Download Text to save data-uri.txt.

Up to 1 MiB of plain UTF-8 text or PNG, JPEG, GIF or WebP. Raster files are limited to 16 million pixels and 16,384 pixels per side.

Security Check

Data URI Generator

Encode local files and text. The URI stays literal text.

  • Check MIME and SizesSee both the original byte count and the generated URI byte count.
  • Encode Text or Raster ImagesUse Base64 for images. Text also supports percent encoding.
  • Copy or Download the URIReview the literal text and save the complete result.

Local Security Check

Checking This Tool

Checking the launch, browser policy, and resources.

    These checks cover this tool page. Website links open only when selected.

    File Access

    Source validation and URI encoding run on this device. The result is displayed as literal text.