About SVG Wave Generator
An SVG wave is a curved shape placed between two page sections in place of a straight edge. This generator spreads points across a 1440 by 320 viewBox, alternates them above and below a midline with some random variation, and joins them with a smooth spline. The path is closed along the bottom edge, or the top edge when flipped. With preserveAspectRatio set to none, the wave stretches to the full width of its container.
How to use SVG Wave Generator
- Fill in "Peaks", "Wave height", "Fill color" and "Flip upside down".
- The result appears below. Press "New wave" for a new one.
- Copy the result with the copy button, or download it as a file where that is offered.
Questions about SVG Wave Generator
How do I make the wave span the full page width?
Give the svg element width: 100% and a fixed height in CSS, and keep preserveAspectRatio="none" so it stretches. Set display: block to remove the small gap that inline elements leave underneath.
Runs in your browser. Page last updated .