SVG Toolbox

Escape Quotes

Escape Quote

SVG in JSON format

Escape quotes

The Problem

Sometime we need to escape those double quotes in SVG to be used in JSON format.

The Solution with SVG Toolbox

SVG Toolbox's escape quotes feature will escape those double quotes in your SVG code, with one click.

This is the original SVG code:

<svg
  width="34"
  height="33"
  viewBox="0 0 34 33"
  fill="none"
  xmlns="http://www.w3.org/2000/svg">
  <path d="M29.5 5C23.4853" />
  <path d="M29.5 5C23.4853" />
  <path d="M29.5 5C23.4853" />
</svg>

and this is after converting to escape quotes:

<svg
  width=\"34\"
  height=\"33\"
  viewBox=\"0 0 34 33\"
  fill=\"none\"
  xmlns=\"http://www.w3.org/2000/svg\">
  <path d=\"M29.5 5C23.4853\" />
  <path d=\"M29.5 5C23.4853\" />
  <path d=\"M29.5 5C23.4853\" />
</svg>

© 2026 SignalSupply. All rights reserved.