SVG Pattern Generator
Seamless tiling patterns as tiny SVG backgrounds. Copy the CSS and paste it in.
How it works
Makes seamless repeating patterns as tiny SVG backgrounds: dots, grid, lines, cross-hatch, plus signs, zigzag, waves and triangles. You get the CSS to paste.
- Choose a pattern.
- Set size and colours.
- Copy the CSS.
Worked example
Dots with tile size 24, colour #16130e on #f4f1ea give a calm dotted paper.
Good to know
- Low contrast between pattern and background keeps text readable.
- Smaller tile size gives a finer pattern.
- The SVG is inline, so no extra file loads.
- Use CSS Pattern Generator for gradient based patterns.
Common questions
- Will it repeat without seams?
- Yes. Each tile joins up with its neighbours.
- What is line weight?
- The stroke width inside the tile, in pixels.
- Does it work on mobile?
- Yes. It is plain CSS and SVG.
- Is anything uploaded?
- No. It is made in your browser.