What Is an SVG Wave Generator?
SVG wave generators create decorative curved dividers that separate content sections on a webpage. Instead of flat horizontal lines, waves add visual rhythm and a modern aesthetic to landing pages, SaaS sites, and portfolios. The output is a lightweight SVG that scales perfectly to any screen width.
Set the number of layers (1 to 5), the height (50 to 300 px), the complexity (how many curve points across the width) and a colour per layer, press Random for a new shape, and flip it for the top of a section. Copy SVG gives inline markup sized exactly like the preview; Copy CSS gives a .wave-divider class with the same SVG as a background image.
How to Use SVG Waves
Paste the SVG between two content sections. It already carries display:block, width:100% and a fixed height, so it stretches edge to edge without the small gap an inline SVG leaves under it. Match the bottom layer's colour to the background of the section it runs into. Flip rotates the wave 180 degrees for the top edge of a section (the shape is mirrored left to right as well).
Worked example: size and consistency of the export
On October 12, 2026 we copied the wave at the default settings (150 px high, complexity 5) and with 1, 3 and 5 layers in Chromium 141, then rendered Copy SVG and Copy CSS one above a dark section at two widths and compared screenshots pixel by pixel.
| Export | Size |
|---|---|
| 1 layer | 753 bytes |
| 3 layers (default) | 1,966 bytes |
| 5 layers | 3,181 bytes |
| Copy CSS, 3 layers | 2,449 bytes (URL-encoded data URI) |
| Check | Result |
|---|---|
| 1440 px wide | 0 of 576,000 pixels differ |
| 375 px wide | 0 of 150,000 pixels differ |
| Reload with the same settings | byte-identical SVG |
- Either export gives the same picture. The inline SVG and the CSS background rendered identically at desktop and phone widths, so choose by workflow: inline SVG can be recoloured with CSS, the CSS class keeps markup clean.
- Tiny compared with an image. Even 5 layers is about 3 KB, and as a vector it stays sharp at any width.
- Repeatable. The same settings and seed always give the same path, so a wave can be regenerated later instead of saved separately.
- It stretches, it does not scale. With preserveAspectRatio="none" the height stays fixed and the curve is pulled wider on large screens; lower the complexity if waves look flat at 1920 px.
Sources
Checked on .
Frequently Asked Questions
Built by Derek Giordano · Part of Ultimate Design Tools