Add a Border to Every PDF Page Privately — Frame Pages in Your Browser
Select a PDF, choose a border colour, line width, and margin, and download a copy with a frame drawn around every page — all locally in your browser.
Quick answer
What it does
Select a PDF, choose a border colour, line width, and margin, and download a copy with a frame drawn around every page — all locally in your browser.
Free?
Yes — 100% free, no account or sign-up.
Files uploaded?
No — everything is processed in your browser.
Works offline?
Yes — once the page has loaded.
Best for
A designer frames every page of a client report with a thin black border to give it a polished, print-ready appearance.
Good to know
The same border is applied to every page using each page's own dimensions.
How it works
Select a PDF file from your device using the file picker.
The file is read into browser memory — no data leaves your browser.
Choose the border colour, line width, and margin from the page edge.
pdf-lib draws a border rectangle on every page; the page content is unchanged.
The bordered PDF is offered as a download directly from your browser.
When to use this tool
A designer frames every page of a client report with a thin black border to give it a polished, print-ready appearance.
A teacher adds a colored border to a quiz PDF before printing to make it visually distinct from plain assignment sheets.
A real estate agent wraps every page of a property brochure in a branded-color frame before emailing it to prospective buyers.
Borders are drawn over existing content, so very narrow margins may overlap text or graphics near the edges of each page.
Frequently asked questions
How is this different from other online PDF tools?
Most online PDF tools send your files to a remote server for processing. This tool processes everything locally in your browser using client-side JavaScript. Your files are never transmitted to any server, which means your document content stays entirely under your control.
Are my PDF files uploaded?
No. Your files are read directly by your browser. Your files are never transmitted over the network. The tool works entirely within the browser tab you have open.
Can I verify that files are not uploaded?
Yes. Open your browser's developer tools (F12), go to the Network tab, and watch for any outgoing requests while using the tool. You will see no file data leave your browser. The site may record an anonymous page-view count, which never includes your files and can be disabled.
Does this tool work offline?
Yes, once the page has loaded the tool processes your files entirely in your browser; tool functionality needs no network connection. You can disconnect from the internet and continue using it.
What happens when I refresh the page?
Because nothing is stored on a server, refreshing the page clears your current session. Any files you had selected will need to be selected again.
Does this tool store my files?
No. Files are held in browser memory only for as long as the page is open. Closing or refreshing the page discards them. Nothing is written to disk by the tool, and nothing is sent to a server.
Can this tool unlock password-protected PDFs?
No. This tool does not attempt to remove or bypass PDF password protection. If you know the password, the Unlock PDF tool on this site can remove it locally; then this tool can process the file.
What technologies does this tool use?
This tool uses client-side JavaScript and pdf-lib to draw a border rectangle on each page entirely within your browser — your files never leave your browser.
Does this tool use WebAssembly?
No. This tool uses client-side JavaScript and pdf-lib for local PDF structure editing. No WebAssembly is involved.
How do I add a border to my PDF pages?
Select a PDF with the file picker, then choose a border colour, a line width, and a margin from the page edge. Press Add Border and a framed copy is generated in your browser for you to save, with the original page content left unchanged.
What units are the line width and margin measured in?
Both the line width and the margin are measured in PDF points, where 72 points equals one inch, not screen pixels. So a margin of 18 sits about a quarter-inch in from each edge, and a width of 2 draws a fairly thin frame line.
Why do I get a 'margin is too large' error instead of a bordered PDF?
The frame is inset from every edge by your margin plus half the line width, so if that inset is wide enough to leave no room on a page, the tool stops and names the page that does not fit. Lower the margin (or the line width) until a visible frame fits inside the smallest page.
Does the Add Page Border tool cost anything to use?
Adding a decorative frame to your PDF pages is completely free — no account, no sign-up, and no cap on how many PDFs you border. It's free today, and it always will be. Your PDF never leaves your device: pdf-lib draws the border rectangle on every page directly inside your browser tab, so no file data is ever transmitted to a server.