Or try an example

Rows
Columns
Line thickness (px)
Line opacity (%)

Help Us Improve

(—)

Add grid to photo — grid overlay online

Free online tool to add grid lines to photo, image, or picture. Customize rows, columns, line color, thickness, style. Perfect for drawing reference.

What is a Grid Overlay for Photos?

A grid overlay is a set of evenly spaced horizontal and vertical lines drawn on top of a photo or image. According to drawing guides such as wikiHow’s grid-method tutorial, artists overlay a grid on a reference photo and match the same cell count on paper to transfer proportions square by square. Photographers apply the rule of thirds — described in Wikipedia as a composition guideline for visual images — to analyze balance and subject placement. Designers use alignment grids for layout precision. This free online tool lets you upload any image, customize rows and columns, line color, thickness, style (solid or dashed), and opacity, then download the result — all processed instantly in your browser with the Canvas API, without uploading files to a server. For a standalone transparent grid PNG without a photo, see /grid-png.

Grid Overlay Features

Customizable grid lines for photos, images, and pictures.
  • Custom Rows & Columns

    Set any number of rows (1–20) and columns (1–20) to create exactly the grid pattern you need.

  • Adjustable Line Style

    Choose solid or dashed lines, set line thickness (1–10px), and control opacity for subtle or bold grids.

  • Color Picker

    Pick any grid line color using the color picker or enter a HEX value. Contrast your grid against your image.

  • Optional Border

    Add a border around the image edges for a finished look. Ideal for framing reference photos.

  • Instant Preview

    See the grid appear on your photo in real-time as you adjust settings. No apply button needed.

How to Add a Grid to a Photo

Three easy steps to overlay grid lines on your images.
  1. 1. Upload Your Photo

    Drag and drop a JPG, PNG, or WebP image into the upload area, or click to browse from your device.

  2. 2. Customize Your Grid

    Set the number of rows and columns, pick a line color, adjust thickness and opacity, and choose solid or dashed lines.

  3. 3. Download Your Image

    Click Download PNG to save your photo with the grid overlay. The grid is permanently drawn into the image.

Tips for Adding Grids to Photos

Best practices for creating useful photo grids.
  • 01

    Match Grid Density to Your Purpose

    Use 3×3 for rule of thirds composition, 5×5 to 8×8 for drawing reference, and 10+ for detailed art transfers.

  • 02

    Use Semi-Transparent Lines

    Set opacity to 40–70% so the grid is visible but doesn't overpower the photo underneath. Lower opacity works better for dark images.

  • 03

    Pick a Contrasting Line Color

    Use white or light gray grids on dark photos, and black or red grids on light photos for the best visibility.

  • 04

    Dashed Lines for Subtle Grids

    Dashed line style creates a lighter visual presence — perfect for reference photos where you want the grid visible but not intrusive.

  • 05

    Use Same Rows & Columns for Square Grid

    For a square grid (all cells equal), set rows and columns proportional to the image aspect ratio, or use the same number for square images.

  • 06

    Add a Border for Finished Look

    Enable the border option to frame your gridded image with a slightly thicker line around all edges for a polished presentation.

Photo Grid Tools Compared — Which One Fits Your Workflow

How this free grid overlay tool stacks up against other popular options for adding grid lines to photos.
  1. Imagy.app

    Full-featured online image editor with an add-grid-to-photo page. Supports solid, dashed, dotted, and long-dash line styles with gradient colors. Grid is rendered permanently into the image—no separate grid-only export. Requires more steps to reach the grid tool compared to a dedicated single-purpose overlay.

  2. GridMaker.app

    Specialized drawing grid tool with unique cell labels (A1, B2, C3), cross lines, and edge detection for art transfer. Exports as JPEG, PNG, or SVG. Focused on artists—lacks social media layout presets, golden ratio guides, or border framing options.

  3. PhotoGrid.space

    Photo grid maker with social layout presets (Instagram 3×3, TikTok, custom ratios) and blank printable grids. Primarily a collage tool rather than a single-image grid overlay. Grid customization is limited to basic rows/columns with fewer line style options.

  4. NoCodeVista

    Grid overlay maker with composition presets for rule of thirds and golden ratio. Supports alignment guides for checking tilted horizons and off-center subjects. Can export grid as a separate transparent PNG. Fewer concurrent customization sliders—requires toggling between modes.

  5. Add Grid to Photo

    Purpose-built for adding grid lines to a single photo. Custom rows (1–20) and columns (1–20) with independent control. Color picker for any line color, adjustable thickness (1–10px) and opacity (0–100%), solid or dashed line style. Optional border framing. Real-time preview updates on every slider change. All processing in your browser—no uploads, no watermarks, no signup.

Perfect for These Uses

Common scenarios for adding grid lines to photos.
  1. Drawing & Art Reference: Use the grid method to transfer or scale images when drawing, sketching, or painting from photo references.

  2. Photography Composition: Create rule of thirds grids, golden ratio overlays, or alignment guides for photography composition analysis.

  3. Graphic Design Alignment: Add reference grids to mockups, layouts, or design assets for precise alignment and spacing checks.

  4. Educational Materials: Create gridded images for math worksheets, coordinate plane exercises, mapping activities, or science diagrams.

  5. Social Media Layouts: Plan Instagram grid layouts, Pinterest collages, or multi-image posts with grid-overlay preview images.

  6. Cross-Stitch & Crafts: Generate gridded pattern references for cross-stitch, pixel art, beadwork, mosaic, and other craft projects.

Why Use This Grid Overlay Tool

Advantages of adding grids to photos with this free online tool.
  • No Software Required

    Works entirely in your browser. No Photoshop, no drawing apps, no downloads needed.

  • Full Customization

    Control every aspect of the grid — from row/column count to line color, thickness, style, and opacity.

  • Complete Privacy

    Your photos stay on your device. All grid rendering is done locally using Canvas — nothing is ever uploaded.

  • Works on Any Device

    Compatible with Windows, Mac, Linux, iPhone, Android, and iPad. Any device with a modern browser.

  • 100% Free

    No sign-ups, no watermarks, no limits. Add grids to as many photos as you need.

  • Instant Results

    See the grid overlay update in real-time as you adjust settings. Download immediately when ready.

Technical Details

How the grid overlay works under the hood.
Canvas Grid Drawing
Grid lines are drawn using Canvas 2D lineTo operations. After copying the source image, lines are rendered on top with the chosen color, opacity, and dash pattern.
Client-Side Processing
All image loading and grid rendering runs entirely in JavaScript in your browser. No data is sent to any server.
Supported Input Formats
JPG, PNG, WebP, GIF up to 15 MB. Images are automatically scaled if they exceed 8192px on the longest edge.
Output: PNG
Download as PNG to preserve grid line sharpness without compression artifacts. PNG supports full quality at any resolution.
Grid Resolution
Grid lines are drawn at the image's native pixel resolution, ensuring clean, anti-aliased lines at any zoom level.
Line Rendering
Lines use Canvas setLineDash for dashed style, globalAlpha-compatible RGBA for opacity, and standard stroke operations for clean anti-aliased rendering.

Sources & References

Authoritative references on grid-based art transfer, photographic composition, and the browser technology this tool uses.
  • One way of transposing images from one piece of paper to another without the use of a computer is to use the grid method.
    wikiHow — Scale Drawings Using the Grid Method

    Grid method for scaling and transferring drawings: According to this step-by-step guide, overlaying a grid on a reference and matching cell counts on your canvas lets you copy one square at a time while keeping proportions accurate. wikihow.com/Scale-Drawings-Using-the-Grid-Method

  • The rule of thirds is a rule of thumb or guideline which applies to the process of composing visual images such as designs, films, paintings, and photographs.
    Wikipedia — Rule of thirds

    Rule of thirds in composition: Photographers often evaluate balance with a 3×3 grid; this article explains why off-center placement along grid lines is a widely taught composition technique. en.wikipedia.org/wiki/Rule_of_thirds

  • The Canvas API provides a means for drawing graphics via JavaScript and the HTML canvas element.
    MDN Web Docs — Canvas API

    Canvas API (client-side grid rendering): This tool draws grid lines with Canvas 2D stroke operations in your browser. MDN documents how canvas supports immediate-mode drawing for overlays like grids and guides. developer.mozilla.org/en-US/docs/Web/API/Canvas_API

  • PNG supports lossless data compression, making it useful for storing graphics that need to be edited repeatedly without losing quality.
    W3C — PNG Specification (overview)

    PNG image format: Downloading a gridded photo as PNG helps keep line edges sharp. The W3C PNG specification describes why PNG is commonly chosen for graphics with flat color and sharp edges. w3.org/TR/PNG/

Frequently Asked Questions

Quick answers about this tool—open a question to read more.