Tested tool guide
Tested browser tools
Checked August 16, 2026
What CSS Grid Template Areas Editor does, with a checked example
CSS Grid Template Areas Editor turns a grid of painted labels into the quoted row syntax required by the CSS grid-template-areas property. Choose the grid dimensions, assign names such as header, sidebar, and main to cells, then copy the generated CSS for a grid container. The important constraint is geometric: every repeated name must occupy one solid rectangle. An L-shaped area or the same name in separated cells does not define a valid template area, even if the rows look readable.
Worked example
A concrete input and expected output from the current implementation.
Input
2 x 2 painted grid:
header | header
sidebar | main
->
Expected output
grid-template-areas:
"header header"
"sidebar main";
The two quoted strings define two rows, each containing two cell tokens. Repeating header across both cells in the first row creates a rectangular area spanning two columns.