1. Home
  2. Design tools
  3. SVG Wave & Section Divider Generator

SVG Wave & Section Divider Generator

Make a wavy edge between page sections and copy it as inline SVG or as a CSS background.

Free, no sign-up. Runs in your browser: nothing is uploaded.

How to use SVG Wave & Section Divider Generator

  1. Choose organic or regular waves.
  2. Set points, height and color.
  3. Copy the SVG, HTML or CSS.

Features

  • Organic random waves or sine waves
  • Repeatable shapes with a seed
  • Fill below or above the wave
  • Stretches to any width
  • Inline SVG, HTML and data-URI CSS
  • Adjustable height and color

Supported formats

Input

  • Slider settings

You get

  • SVG
  • HTML
  • CSS

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the SVG Wave & Section Divider Generator is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • One layer and one fill color per file; stack several files for layered waves.
  • The shape is a single smooth path with no gradients.

Guide

SVG wave dividers for section backgrounds

A flat horizontal line between two page sections can feel abrupt. A wave softens the join, and because it is an SVG it stays sharp at any width, costs a few hundred bytes and takes its colour from your design. This generator draws the wave for you, with a live preview, and gives you both the standalone SVG and the HTML and CSS to place it.

How the shape is made

The generator picks control points across the 1440 unit width and passes a smooth curve through them, using cubic Bézier segments. The path starts at the left edge, follows the curve to the right edge and then closes along the bottom: after the last curve it adds L1440 200 and L0 200 and Z. The filled area below the curve gets your colour; above it the page behind shows through. With the Fill above toggle on, the path closes along the top instead, which is the shape you need at the top of a section.

A worked example

Press Sample for the default: style Organic, five control points, wave height 55%, box height 200, shape number 7 and fill #4f46e5. The SVG is <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 200" preserveAspectRatio="none"> followed by one path beginning M0 46.29C48 47.21 192 34.12 288 51.82 … and ending L1440 200L0 200Z. Switch to Regular waves and the points follow a sine curve with a smooth rhythm; the path is longer because every half-period is its own curve. Use New shape to try other seeds and keep the one you like.

Stretching and sizing

preserveAspectRatio="none" tells the browser to stretch the drawing to fill whatever box it is given, ignoring the original proportions. That is what makes one SVG span a phone and a wide monitor. The exported CSS sets display: block, width: 100% and a fixed height, one quarter of the box height you chose, 50 pixels for the default 200. Change that height to make the wave shallower or taller on screen; the shape scales vertically with it. For a stronger rise, increase the wave height slider instead.

Placing it

Put the SVG at the bottom of a section and set its fill to the colour of the next section, so the wave looks like the edge of that next block. Use the flip option for a wave at the top of a section. The background version in the CSS block uses a data URI, url("data:image/svg+xml,...") bottom / 100% auto no-repeat, which avoids an extra request and needs no HTML element. Note that a background scaled by 100% auto keeps its aspect ratio instead of stretching, so the inline SVG gives more control over height.

Edge cases

A hairline can appear between the wave and its neighbour on fractional pixel positions; overlap them by one pixel to hide it. If the wave sits on a gradient section, use a matching gradient fill or place it on a solid band. Decorative dividers should be hidden from assistive technology with aria-hidden="true" on the inline SVG.

Limits

The wave has one colour and no stroke, shadow or animation. Only the bottom or top edge can be filled, not both sides. Randomness is seeded and repeatable but you cannot edit individual points here; use the Bézier editor to adjust a path by hand. Everything is generated in your browser.

Checked against the current version of the SVG Wave & Section Divider Generator on .

Troubleshooting

The download did not start

Look for your browser’s download bar or icon. Some browsers ask once before a site may download files; allow it and click the button again.

Frequently asked questions

Why is there a thin line between the wave and the next section?

Anti-aliasing can leave a hairline at a fractional pixel boundary between the divider and the section below. Overlap them by one pixel with a negative margin, or give the divider display block so no inline gap appears.

How do I get the same wave again later?

Keep the shape number and the other settings, or keep the SVG file. The same seed with the same style, point count, height and amplitude draws the same path every time.

How do I place a divider between two sections?

Put the SVG at the bottom of the first section and fill it with the color of the next section, or flip it for the top edge. Set a fixed height in CSS and width 100%.

Can I get the same wave again?

Yes. A given shape number always draws the same wave, so note it down.

Keep working with the result

After you download, choose “Save to Workstand” to keep the result in a folder on your computer, attach it to a project and create a follow-up task. It is saved by your browser, not uploaded.