SVG → Base64
SVG を Base64 にエンコードします。CSS にインライン化したり、JSON 設定や API テストに直接貼り付けたりするのに向いています。
Examples: SVG icons from a design system, vector logos, or illustrations exported from Figma.
For pure-text payloads use the Text to Base64 tool, or recover an inline asset with Base64 to Image.
Encode an SVG vector file into Base64. SVG is XML markup, so the original document remains human-readable after decoding. Use the data: prefix for inline data URLs that work in CSS background-image rules.
Modern browsers render SVG data URLs natively. A few legacy email clients still strip them; test on the target client before shipping.
Most browsers render SVG data URLs natively. Some legacy email clients do not — test on the target client before shipping.
Yes. The byte stream is unchanged. Browsers may sandbox scripts inside SVG data URLs depending on the rendering context.
For small SVGs, URL-encoding often produces a shorter data URL and is human-readable. Base64 is safer for SVGs containing many quote characters.
No. All encoding is local to your tab.