CSS Background Pattern Generator

Build tileable dot, stripe, diamond, triangle, grid, checkerboard, and zigzag backgrounds with pure CSS — no images required. Copy the CSS or download as SVG.

2px
24px
CSS Output
Browser extension

Keep RizCraft tools one click away

Open 24 built-in tools from your browser sidebar, use quick actions from the right-click menu, and reach every RizCraft tool without hunting through tabs.

Firefox and Edge versions are coming next. Free to install

Free CSS Background Pattern Generator

Build tileable dot, stripe, diagonal, grid, checkerboard, diamond, triangle, cross-hatch, and zigzag backgrounds using nothing but CSS gradients — no image file, no HTTP request, and it scales perfectly at any zoom level. Pick your foreground and background colors, adjust the size and spacing, and copy the result.

Prefer an actual image file? Use Download SVG to get the same pattern as a small, infinitely-tileable SVG you can use as a background image anywhere.

Frequently Asked Questions

Do these patterns need an image file?
No — the CSS output is pure gradients, with zero image requests. If you'd rather have a file, use Download SVG.
Will the pattern tile seamlessly?
Yes, every pattern here is designed to repeat edge-to-edge with no visible seam, in both the CSS and SVG output.
Can I use this on any element?
Yes, paste the CSS into the background of any element — page body, section, card, or button.