Encoders & Decoders

Minify an SVG and encode it as a compact percent-encoded (or base64) data URI, with background-image and mask-image CSS.

SVG to Data URI. Operations: encode — Optimise an SVG and return url-encoded and base64 data URIs, sizes and CSS snippets. decode — Decode a data:image/svg+xml URI (percent-encoded or base64) back to SVG markup.

post/api/v1/svg-data-uri

Request

  • Base URL: https://programmes.net
  • URL: https://programmes.net/api/v1/svg-data-uri
  • Auth: none declared

Request body

OR

Response

The operation ran.

okunknown required
tool'svg-data-uri' required
operation'encode' | 'decode' required
resultunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.