SVG Linear Gradient Fade to Transparent

Apply a linear fade that starts solid and ends transparent

Transparent to color? Transparent to colorTransparent edges? Transparent edges

FAQ

Quick answers

How do I make an SVG linear gradient fade to transparent?
Click Fade out. The last stop uses stop-opacity 0 so the fill dissolves.
Is this a mask or a gradient?
A gradient. No mask element is added — only defs + fill=url(#...).
Need both edges clear?
Use SVG Gradient Transparent Edges.
Does fade to transparent work on text?
Yes if the file has a text or shape target. The sample uses a rect.
Transparent to color → Transparent edges → Fade-out generator → Transparent-to-color code →
Open full editor →

Source

Type or paste SVG markup. The preview on the right updates as you type.

Ready

Live preview

PNG export · 2× for retina