SVG
<svg xmlns="http://www.w3.org/2000/svg"></svg>
Data URL
data:image/svg+xml,...
Developer Tools
Convert images or SVG into data: URLs locally for embedding in HTML, CSS, or small resource references. Files are not uploaded.
Favorite this tool
No favorite storage mode has been selected.
Quick actions
Copy this tool URL or open the system share sheet on a supported device.
开发工具
从文件生成
支持任意文件类型,将其转换为 Base64 的 Data URL
从纯文本生成(URI 编码)
等待生成
SVG
<svg xmlns="http://www.w3.org/2000/svg"></svg>
Data URL
data:image/svg+xml,...
It is intended for small images and icons. Very large files create long strings and can hurt page performance.
No. Reading and encoding stay in your browser.
Tools
Continue with another translated tool for a nearby task.
Data URL Parser
Split a data: URI locally, identify MIME type and payload, and preview common image or text content. Useful for analyzing inline page resources.
Image to Base64
Convert a local image into a Base64 Data URL in your browser—no upload. Handy for embedding small icons in HTML/CSS, debugging CSS backgrounds, and documenting API image samples.
Base64 Encode/Decode
Encode and decode Base64 in the browser, with standard and URL-safe variants, automatic direction detection, and optional file-to-Base64 conversion. Useful for API debugging and local data prep.