🔗 Data URL Converter
🌓
File → Data URL
Data URL → File
📁 Click or drag the file here
Supports image, audio, video, PDF, SVG, text and other formats
Output format:
Data URL
Pure Base64
CSS background-image
HTML img tag
Markdown images
Automatic line wrap (every 76 characters)
-
file name
-
Original size
-
MIME type
-
Size after encoding
Copy
Clear
Download as file
Specify MIME type (optional):
Automatic detection
image/png
image/jpeg
image/gif
image/svg+xml
image/webp
application/pdf
text/plain
text/html
text/css
application/json
Decode
-
MIME type
-
Decoded size
Download file
Clear
Tools
About
Privacy
Feedback
Guides