Skip to main content

Add Shapes to PDF Online Free — PrivaTools

TL;DR: Upload a PDF, define rectangles, ellipses, lines, or polygons by page + coords, and download a copy with the shapes drawn in.

Add shapes to PDF online — draw rectangles, circles, lines, and arrows with custom colors, fill, and stroke width. Perfect for technical drawings, callouts, and visual annotations. Free tool.

Add Shapes to PDF is part of PrivaTools — a free, open-source alternative to iLovePDF, Smallpdf, and Adobe. Server-side tools process your file in an isolated container and discard it immediately; many tools never upload at all and run entirely in your browser.

How to Add Shapes to PDF with PrivaTools

  1. Upload the PDF — Select a PDF up to 500 MB.
  2. Define shapes — For each shape, specify type (rectangle, ellipse, line, polygon), page number, coordinates, color, and stroke width.
  3. Apply and download — Click Add Shapes. The shapes are drawn directly onto the page content; they survive copy-paste, printing, and PDF/A conversion.

Frequently Asked Questions

Are shapes flattened into the page?

Yes — shapes become part of the page's content stream, not annotations. They can't be moved or deleted afterwards without re-editing the PDF.

Can I draw filled or only outlined shapes?

Both. Set fillColor for a filled shape; omit it and only the stroke renders. Set both for an outlined fill.

What about transparency?

Use a color with alpha (e.g., rgba(255,0,0,0.5)) or pass an opacity value (0–1).

Last reviewed 2026-05-01 by the PrivaTools maintainers. Source code on (MIT-licensed, self-hostable).

Related PDF Tools

See how PrivaTools compares to iLovePDF, Smallpdf, Adobe Acrobat, and other free PDF tools.