Free CSS Grid Generator — Design Grid Layouts Visually
Initializing tool...
More Utilities
Related Tools
Ubify Intelligence Team
EDITORIAL TEAM
About This Tool
The CSS Grid Generator lets you visually configure a grid layout — set column and row counts, gap sizes, and template fractions — and generates the exact CSS grid code to copy into your project. Learn CSS Grid interactively or quickly scaffold a layout. Free, no account, runs in browser.
How to Use
- 1
Set the number of columns and rows using the controls.
- 2
Adjust column widths using fr units, px, %, or auto.
- 3
Copy the generated display: grid CSS code for your layout.
Frequently Asked Questions
What does "fr" unit mean in CSS Grid?
"fr" stands for fractional unit — it distributes remaining space proportionally. 1fr 2fr creates two columns where the second is twice as wide as the first.
Can I create named grid areas with this tool?
Yes. The advanced mode lets you name grid areas and drag items to span multiple cells — generating the grid-template-areas CSS.
Is this CSS grid generator free?
Yes. Completely free with no account required.