The SVG pattern generator creates seamless background patterns — polka dots, grids, diagonal stripes, checkerboards, zigzags, waves, triangles, plus signs, rings and hexagons. Adjust scale, line width, colors, opacity and rotation, then copy a ready-to-paste CSS background or download the pattern as SVG or PNG at any size. It runs in your browser.
| Pattern | Tile (scale = s) |
|---|---|
| Dots, grid, rings, plus | s × s |
| Checkerboard | 2s × 2s |
| Zigzag, waves | s × s/2 |
| Hexagons | √3·s/2 × 1.5s |
Copy the CSS and paste it into the element's styles. The pattern is embedded, so there's no image file to upload.
Yes. Each tile is built so its edges line up when repeated.
Yes, in the SVG and PNG downloads. CSS tiles stay unrotated because a rotated tile can't repeat seamlessly.
Yes. Turn on Transparent background to overlay the pattern on anything.
Yes. Patterns you generate are yours to use.
Each pattern is defined as a single tile whose shapes meet the tile edges exactly, so copies placed side by side join without visible seams: dots and rings are centered in a square, grid lines run along two edges, diagonal stripes include the corner fragments, the checkerboard uses a 2×2 tile, zigzags and waves start and end at the same height, and hexagons use a √3·r × 3r tile with neighboring partial hexagons included. For CSS, the tile is embedded as a percent-encoded inline SVG in background-image with a matching background-size, so the browser repeats it at any element size with no file to host. For downloads, the tile becomes an SVG <pattern> filling a canvas of the chosen size, where rotation is applied with patternTransform; a rotated tile can't repeat seamlessly as a CSS background, so rotation is limited to the SVG and PNG outputs. Colors, line width, scale and opacity are adjustable, and the background can be transparent.