SVG Wave Generator

Generates SVG wave shapes for section dividers — the curved transitions between coloured bands that replaced straight edges in web design.

Live demo · real result from this tool
Style
Change the number for another variation. The same seed always gives the same result.

Press Generate to create a result.

Processed on your device — nothing is uploaded.

How to use SVG Wave Generator

  1. Choose a wave style and adjust the amplitude.
  2. Set the colour to match the section it divides.
  3. Copy the SVG and mark it aria-hidden.
  4. Use preserveAspectRatio=“none” with width: 100% so it spans any viewport.
  5. Mark it aria-hidden=“true” — it is decorative and carries no meaning.
  6. Inline the SVG rather than base64-encoding it; it is text and compresses well already.

Why SVG rather than an image

A wave is a few curve commands, so the SVG is typically well under a kilobyte, scales to any width without blurring, and can be recoloured in CSS. A PNG of the same shape is orders of magnitude larger, fixed in resolution, and needs regenerating whenever the brand colour changes. There is no case where the raster version is better.

Making it span any viewport

Set preserveAspectRatio=“none” and give the SVG width: 100% with a fixed height, so the wave stretches horizontally rather than scaling proportionally and leaving gaps. Without that, a divider that looks right at 1440px will show background at 2560px — the most common implementation error with these shapes.

Keep them decorative

A divider carries no information, so give it aria-hidden=“true” and no accessible name; otherwise a screen reader announces a graphic that means nothing. Also watch the height on phones: a wave sized for a desktop hero can eat a third of a small screen. Either scale it down at narrow widths or accept a straighter edge there.

Frequently asked questions

Can I use multiple wave layers with different colors?
Yes, generate one layer, copy its code, then adjust the color and amplitude and generate again to layer a second wave on top.
Is this tool client-side only?
Yes. The SVG is rendered entirely in your browser as you adjust the controls — nothing is uploaded to generate it.
Can I download the SVG file, not just copy the code?
Yes. Every generator here includes a download option alongside the copy button.
Why is there a gap beside my wave on wide screens?
The SVG is scaling proportionally instead of stretching. Set preserveAspectRatio="none" and width: 100% with a fixed height.
Should I use SVG or a PNG for a section divider?
SVG, without exception here. It is a fraction of the size, scales to any resolution, and can be recoloured in CSS when your palette changes.
Do wave dividers affect accessibility?
Only if you leave them exposed to assistive technology. Add aria-hidden="true" so screen readers skip a decorative shape that conveys nothing.

Written by the ToolsRift team · Last updated

Pages are drafted with AI assistance and checked by automated tests. How we write and check pages.

Was this tool useful?

Report a problem

Start typing to search every tool.

↑ ↓ to moveEnter to openEsc to close