Generate data: URIs from text input or file upload. Select the MIME type, encode to Base64, and get a ready-to-use data URI for embedding in HTML, CSS, or JavaScript.
Data URIs (also called data URLs) allow you to embed file content directly in HTML, CSS, or JavaScript using the format: data:[mediatype][;base64],data. This eliminates the need for separate HTTP requests, making pages load faster for small assets.
They're commonly used for small images (icons, logos), CSS backgrounds, custom fonts, and inline SVG. The trade-off is a ~33% size increase due to Base64 encoding, so they're best suited for files under 10KB.
A data URI is a way to embed file content directly into web documents using the data: scheme. Instead of linking to an external file, the content is Base64-encoded and included inline, reducing HTTP requests.
Use data URIs for small, frequently used assets like icons and small images (under 10KB). For larger files, regular URLs are better because data URIs increase file size by ~33% and can't be cached separately.
Yes. All modern browsers support data URIs. The main limitation is size — some browsers have maximum length limits for data URIs, typically around 2MB, though this varies by browser.
Codifica o decodifica cadenas Base64 directamente en tu navegador
Convierte texto a Base64 o decodifica Base64 a texto plano
Convierte imágenes a cadenas codificadas Base64
Decodifica cadenas Base64 a imágenes visibles
Codifica cualquier archivo a una cadena Base64
Decode any Base64 string back to its original file
Decodifica cadenas Base64 a documentos PDF
Decodifica e inspecciona tokens JWT
Codifica o decodifica URLs con codificación porcentual
Convierte caracteres especiales a entidades HTML y viceversa
Convierte entre formatos hexadecimal y Base64
Decode Base64 strings to plain readable text
Check if a string is valid Base64 encoding
Decode Base64 and pretty-print as formatted JSON
Convert Base64 strings to hexadecimal and back
Convert SVG to data URIs for CSS and HTML
Encode text to UTF-8 bytes or decode bytes to text