◈Free
SVG source to data URL
Percent-encode SVG markup as a text data URL; no rendering.
Percent-encode SVG markup as a text data URL; no rendering. Encode markup beginning with an SVG element into a data:image/svg+xml URL for copying. The operation treats the supplied source as text and never renders it.
How to use
- Enter your text, values, or image.
- Adjust the options and run the tool.
- Copy or download your result.
Worked example
Example input
Input: <svg/>
Example result
data:image/svg+xml,%3Csvg%2F%3E
Limitations and details
The initial SVG check is not XML validation or sanitization; review active content before embedding the result elsewhere.
Inputs and options
- Input
- Text
Frequently asked questions
Is this tool free and private?
Yes. All 300 tools are free in this phase. Processing happens in your browser; your input and files are not sent to our servers.