SVG Pattern Generator
About this tool
About Pattern Generator
Repeating geometric patterns are an easy way to give a hero section, a card or a slide some texture without a heavy image. Pick from twelve seamless patterns, including polka dots, a square grid, stripes, diagonal lines, a checkerboard, waves, zigzags, triangles, crosses, a honeycomb of hexagons, diamonds and rings. Set the scale, line width or dot radius, rotation and opacity, choose the pattern and background colours, or make the background transparent so the pattern can sit on top of other designs. The result is pure vector, so it stays sharp on any screen. Copy CSS that embeds the pattern as a data URI, with no image file to host, or download an SVG that fills any area, a single repeatable tile, or a PNG at any size such as 1920 × 1080. Tiles are built so edges line up exactly, with no seams. Everything is generated locally in your browser. Pick from 24 pattern templates such as notebook grids, blueprints, gingham, pinstripes, polka dots, honeycombs and transparent overlays.
Built and maintained by Abhi JainUpdated
Recent changes
- Add pattern preview transparency indicator and resume pdf tests
How to Make a Seamless Pattern
- 1
Choose a pattern
Click one of the pattern thumbnails, such as Dots, Grid, Waves or Hexagons.
- 2
Style it
Adjust scale, line width, rotation and opacity, and pick the pattern and background colours.
- 3
Use it
Copy the CSS or SVG from the code tabs, or download a PNG at the size you set.
Pattern Generator: questions and answers
How do I use an SVG pattern as a CSS background?
Copy the CSS tab. It sets background-image to the SVG as a data URI and background-size to one tile, so the browser repeats it across the element.
Will the pattern have visible seams?
No. Every tile is built so shapes that cross an edge continue on the opposite side, so repeats join exactly.
Why does the rotated pattern use a full-size SVG?
A single rotated tile can't repeat seamlessly in CSS. With rotation, the CSS uses an SVG pattern element that fills the whole element at that angle instead.
Can I use these patterns commercially?
Yes. The patterns are generated from simple geometry on your device and are yours to use in any project.
Are there pattern templates?
Yes. 24 templates in six groups: paper and stationery, website backgrounds, textiles, playful, premium and transparent overlays. Each sets the pattern, scale, line width, rotation, opacity and colours, and exports as SVG, CSS or PNG like any pattern you build.
Ready-made Pattern Generator presets
Related Tools
- Background GeneratorWallpapers and backgrounds from gradients, mesh, patterns and grain, at phone, desktop, 4K and social sizes.
- Noise Texture GeneratorGrain and noise textures as a PNG tile or a tiny inline SVG for CSS.
- CSS Gradient GeneratorLinear, radial and conic CSS gradients with a live preview.
- Blob GeneratorRandom organic SVG blob shapes with gradients, as SVG, PNG or CSS border-radius.