✳tools.stBrowse tools
◈ Processed on your device
◈

SVG source to data URL

Percent-encode SVG markup as a text data URL; no rendering.

Free

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.

◈ Local processingFree

How to use

  1. Enter your text, values, or image.
  2. Adjust the options and run the tool.
  3. 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.

Related tools