Skip to content
toolstome

SVG pattern generator

Make lightweight, seamless background patterns for websites, slides and mockups. Choose dots, grid lines, stripes, diagonal lines, a checkerboard, zigzags, waves, triangles, crosses, hexagons, circles or diamonds, then set the tile size, line thickness, foreground and background colours, opacity and rotation. The preview fills a large area so you can see how the tile repeats. Copy a CSS background-image declaration with the SVG embedded as a URL-encoded data URI, which is smaller than base64, or download the tile as an .svg file.

Free · No sign-upProcessed in your browser

How to use the SVG Pattern Generator

  1. 1

    Choose a pattern

    Twelve geometric patterns.

  2. 2

    Style it

    Size, stroke, colours, opacity, transparency and rotation.

  3. 3

    Use it

    Copy the CSS or download the SVG tile.

When to use it

  • Add texture to a hero section or card.
  • Make placeholder backgrounds for mockups.
  • Create print-ready vector patterns.

Limits

  • Rotated patterns are drawn as a larger tile, which makes the SVG bigger.
  • Very small tiles with thin lines can shimmer on some screens.

Privacy

Generated in your browser.

Frequently asked questions

Why SVG instead of a PNG?

An SVG tile is usually a few hundred bytes, stays sharp on high-density screens and can be recoloured by editing two values.

How do I use the CSS?

Paste the background-image line into a rule for your element. Add background-size if you want to scale the tile.

Why is the data URI not base64?

URL-encoding only the special characters keeps SVG smaller than base64 and still works in every modern browser.

Can I make a transparent pattern?

Yes. Tick “Transparent background” and put the pattern over any colour or image.

Will it repeat without seams?

Yes. Each pattern is drawn so its edges line up when the tile repeats.

People also use

Last updated November 24, 2026 · How we build and test our tools

Categories

Recently used tools

Tools you open will appear here.

More