Base64 Data URI Generator Online
Turn text, CSS, or SVG into a base64 data URI. Runs in any browser, no install.
Inputs
Results
// text/plain · 0 bytes → 0 chars data URI data:text/plain;base64,
About this tool
Paste content, pick a MIME type, and get a UTF-8-safe base64 data URI with byte counts. No install — it runs in any browser and nothing is sent to a server.
How to use
- 1Enter Content and MIME type.
- 2Adjust the remaining inputs to match your case.
- 3Read the result in the results.
- 4Everything runs in your browser — nothing is uploaded or stored.
Frequently asked questions
Related tools
Base64 Encoder / DecoderEncode and decode Base64, with URL-safe mode.URL Query String BuilderBuild and parse URL query strings.Password Hash GeneratorGenerate and compare password hashes.Code DiffDiff two code snippets with word-level detail.UUID GeneratorGenerate UUID v4 and v7 in batches, with prefixes.Base64 Data URI GeneratorTurn text, CSS, JS, JSON, or SVG into a data:<mime>;base64, URI — UTF-8 safe.