Skip to content

SVG Filter Playground

About the SVG Filter Playground

Stack blur, drop shadow, glow, grayscale, sepia, saturation, hue, brightness, contrast and invert on an SVG and copy the plain SVG filter. Runs in your browser.

How to use it

Examples

Questions

Do the color effects match CSS filters?
Yes. Grayscale, sepia, saturation, brightness, contrast and invert use the numbers from the CSS Filter Effects specification, computed in sRGB, so the same amount gives the same colors as the CSS filter of that name.
Why does the order of effects matter?
Each effect works on the result of the one above. A blur applied after a shadow also blurs the shadow.
Are my files uploaded?
No. Everything runs in your browser. The file is cleaned first and the result is cleaned again.
Why are some filter types missing?
Filters that load other files or can freeze a page (images inside filters, turbulence, displacement) are not supported, on purpose. Blur and morphology sizes are limited to 100.
Will the edges of my picture be cut off?
No. The filter area is padded by what the blurs and offsets need. What falls outside the SVG canvas is still cropped by the canvas itself.

Free and runs in your browser. Sign in only if you want to save your work.