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.
Codifique ou decodifique strings Base64 diretamente no seu navegador
Converta texto para Base64 ou decodifique Base64 para texto simples
Converta imagens para strings codificadas em Base64
Decodifique strings Base64 de volta para imagens visíveis
Codifique qualquer arquivo para uma string Base64
Decode any Base64 string back to its original file
Decodifique strings Base64 para documentos PDF
Decodifique e inspecione tokens JWT
Codifique ou decodifique URLs com codificação percentual
Converta caracteres especiais em entidades HTML
Converta entre formatos hex e Base64
Decode Base64 strings to plain readable text
Check if a string is valid Base64 encoding
Decode Base64 and pretty-print as formatted JSON