EIT easy-image-tools / Draw a grid

Draw a grid

Draws a grid with custom columns, rows and line width on a transparent or white background.

Nothing found — try another word.

01

Draw a grid

Nothing found — try another word.

Canvas size
Width
Height
Grid
Cols
Rows
Line width
Opacity

Nothing found — try another word.

Preview
Source
no source — configure the parameters
Result
no result yet

Draw a grid renders evenly spaced horizontal and vertical lines on a canvas from four numbers: how many columns, how many rows, how thick the lines are and what color they are. Leave Opacity at zero and the result is a transparent PNG with nothing but the lines — what you want to overlay on a mockup, a screenshot or a photo; raise it and the background is painted white at that opacity instead. There is no source file: the grid is rendered in your browser. Use it to check a layout, draw a table skeleton, or produce a calibration target.

  • Rendered entirely in your browser: no upload, no server, no signup.
  • Cols and Rows from 1 to 64 — the count is the spaces between lines, so 8 gives 9 lines.
  • Line width from 1 to 40 px, any line color.
  • Background transparent at Opacity 0, white at higher values.
  • Cells are square only when the canvas is square and the counts match.
  • Free with no daily limit, no watermark and no account, also for commercial use.

How to use it

  1. No upload needed - the grid is drawn from the Cols, Rows, Line width and Line color values.
  2. Set the Canvas size in pixels, or pick a preset.
  3. Set Cols and Rows, each from 1 to 64; the count is the spaces between lines, so 8 gives 9 lines.
  4. Set the Line width from 1 to 40 pixels and choose the Line color.
  5. Leave Opacity at 0 for a transparent background, or raise it to paint the background white at that opacity.
  6. Download the grid as PNG, JPG, WebP or BMP from the Download button.

Questions

Why do I get one more line than the number I typed?

The Cols and Rows sliders count the spaces between lines, and a line is drawn on both sides of every space. A value of 8 therefore draws 9 vertical lines and 9 horizontal ones, with the outer pair sitting flush against the canvas edges.

How do I get square cells?

Cells are the canvas width divided by Cols and the height divided by Rows. On a square canvas equal counts give square cells; on a wide canvas you need a proportionally smaller row count, or a wider canvas for the same row count.

Can I get a transparent grid with no white box?

Keep Opacity at 0. Every pixel outside the lines is then fully transparent, and saving as PNG or WebP keeps it that way. Saving as JPG has no alpha channel and will flatten the background to white.

Do I have to upload or sign up?

No. The grid is generated entirely in your browser, with no account, no watermark and no daily limit.

Related tools