ToolJutsu
All tools
Creative Tools

Pattern Generator

Generate seamless geometric patterns.

40 px
40%
Tiled preview

The motif repeats every 40 px — drag the sliders and the tiling stays seamless.

CSS background snippet
background-color: #0B1120;
background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cdefs%3E%3Cpattern%20id%3D%22tj-pattern%22%20width%3D%2240%22%20height%3D%2240%22%20patternUnits%3D%22userSpaceOnUse%22%3E%3Crect%20width%3D%2240%22%20height%3D%2240%22%20fill%3D%22%230B1120%22%2F%3E%3Ccircle%20cx%3D%220%22%20cy%3D%220%22%20r%3D%228%22%20fill%3D%22%232DD4BF%22%2F%3E%3Ccircle%20cx%3D%2240%22%20cy%3D%220%22%20r%3D%228%22%20fill%3D%22%232DD4BF%22%2F%3E%3Ccircle%20cx%3D%220%22%20cy%3D%2240%22%20r%3D%228%22%20fill%3D%22%232DD4BF%22%2F%3E%3Ccircle%20cx%3D%2240%22%20cy%3D%2240%22%20r%3D%228%22%20fill%3D%22%232DD4BF%22%2F%3E%3Ccircle%20cx%3D%2220%22%20cy%3D%2220%22%20r%3D%228%22%20fill%3D%22%232DD4BF%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D%2240%22%20height%3D%2240%22%20fill%3D%22url(%23tj-pattern)%22%2F%3E%3C%2Fsvg%3E");
background-repeat: repeat;
Processed on your device. We never see your files.

How to use Pattern Generator

What this tool does

This pattern generator builds seamless, repeating geometric textures that you can drop straight into a website, a design file or a printed piece. Pick a pattern family — dots, a grid, a checkerboard, triangles, stripes, chevrons or hexagons — then adjust the tile size, motif scale, rotation and colours. The preview area fills with the pattern tiled edge to edge, so you can see at a glance that the repeat is genuinely seamless. When you are happy, export a tileable SVG, a PNG image, or copy a ready-made CSS background snippet.

Every pattern is created as a single SVG tile with a <pattern> definition, the same mechanism browsers and design software use for true repeating fills. The page opens with a pleasant default pattern already on screen, so there is nothing to set up before you start experimenting.

When you’d use it

Repeating patterns are everywhere once you start looking. Web designers use them as subtle section backgrounds, hero textures and card fills that add depth without distracting from the content. Presentation makers use them behind title slides or as divider pages. Hobbyists and crafters export tiles for scrapbook paper, gift wrap, fabric print and digital planners. Game developers use them as floor tiles, UI panels and parallax layers. Educators hand out patterned worksheets and use the rotation and scale controls to demonstrate symmetry and tessellation. Because the output is both a vector file and a CSS snippet, the same pattern can serve a print project and a web project without any re-export.

How to use it

  1. Choose a Pattern type from the menu — the preview updates immediately.
  2. Set the Tile size to control how large the repeating unit is; smaller tiles read as fine texture, larger tiles as bold motifs.
  3. Adjust Motif scale or Line thickness when the chosen pattern offers them, to make shapes fuller or lines heavier.
  4. Drag Rotation to tilt the whole pattern — diagonal stripes and chevrons often look more dynamic at 30 or 45 degrees.
  5. Pick a Motif colour and a Background colour with the swatches.
  6. Press Randomize for an instant new combination to spark ideas.
  7. Use Download SVG for a scalable file, Download PNG for a raster image, or Copy CSS to paste the pattern into a stylesheet.

Tips for great results

For a background that supports content rather than fighting it, keep the motif colour close to the background in lightness — low-contrast patterns feel like texture, while high-contrast ones become a feature in their own right. Small tile sizes give a refined, almost paper-like grain; large tiles make a statement. Rotation transforms a pattern completely: rotated stripes become diagonal lines, and a rotated grid becomes a diamond lattice. Hexagons and the grid pattern use the line-thickness control, so a thin stroke gives a delicate wireframe and a thick stroke a chunky, modern look. When building for the web, the CSS snippet is the lightest option because the pattern travels inside the stylesheet with no extra request. Pair this tool with the gradient generator to layer a pattern over a colour wash, and the colour palette generator to choose a motif and background that harmonise. For non-repeating artwork, the spirograph generator and the CSS doodle generator are good companions.

Privacy

This generator runs entirely in your browser. The SVG markup, the tiled preview, the PNG rasterisation and the CSS snippet are all produced by JavaScript on your own device. No pattern is uploaded, nothing is saved on a server, and there is no tracking of the designs you make. When you close the tab everything is discarded except the files or snippets you saved yourself, and once the page has loaded you can keep generating patterns offline.

Frequently asked questions

What does seamless or tileable mean?
A tileable pattern is one where a single small tile can be repeated edge to edge with no visible joins. Every motif that touches one edge of the tile continues correctly on the opposite edge, so when the tile repeats across a wide area the eye sees one continuous texture rather than a grid of squares. This generator builds each pattern as a proper tile, which is why the preview can fill the whole area without any seams showing.
Should I export SVG, PNG, or copy the CSS?
Copy CSS is the fastest route for a website: it gives you a background-image rule that uses the pattern as a data URI, so the texture loads with no extra file request and stays crisp at any zoom. Download SVG when you want an editable vector file for a design tool or a larger graphic — SVG patterns scale infinitely without blur. Download PNG when a tool or document needs a raster image, for example a slide background or an app asset. SVG and CSS scale forever; PNG is fixed to the pixels you export.
How do I use the copied CSS in my own page?
Paste the snippet into a CSS rule for any element — often the body or a section wrapper. It sets a background colour, a background image built from the SVG, and background-repeat: repeat so the tile fills the element. Because the image is embedded as a data URI there is no separate file to host or upload. You can change the colours later by regenerating here, or by editing the SVG inside the data URI directly if you are comfortable with the markup.
Is my pattern private when I use this generator?
Yes. The pattern is generated as SVG markup by JavaScript running in your browser, and the preview, PNG export and CSS snippet are all produced locally. Nothing is uploaded, no design is stored on a server, and there is no account or tracking of what you create. Closing the tab discards everything except the files or snippets you chose to save. You can keep generating patterns offline once the page has loaded.
Can I use these patterns commercially?
Yes. The patterns are built from plain geometry — circles, lines, triangles, hexagons — generated by formulas rather than copied from any existing artwork, so the output is free for you to use in websites, apps, packaging, print and client work with no licence to accept and no attribution required. As with any simple geometric texture, customise the colours and scale if you want a look that feels distinctly yours.

Related tools