Bookmarks from Regex Pattern
Scan a PDF for text matching a regex pattern (e.g. "Chapter \d+", "Section [A-Z]\.") and create a bookmark for each match, jumping to the page where it appeared.
1. Upload your file
How does the Bookmarks from Regex Pattern work?
Scan a PDF for text matching a regex pattern and add a bookmark for each match. Default pattern matches "Chapter N" headings; change it to suit your document — `^Section [A-Z]\.` for legal sections, `^\d+\.\s+\w+` for numbered headings, `^[A-Z][A-Z\s]+$` for ALL-CAPS lines. Each match becomes a bookmark with the matched text as its title, pointing at the page where it was first seen. Different from Auto-Bookmark from Headings (which uses font-size detection) and Add Bookmarks from CSV (which uses an explicit list). Powerful when your document follows a consistent format the heading-detector misses.
🔒 Security & Privacy
All processing happens on your device. Your files never leave your browser, never touch our servers, and are not stored anywhere. Close the tab and the file is gone.
📱 Use it on any device
Works in any modern browser — Mac, Windows, Linux, iPhone, Android, and tablets. No installation, no app to download. Just open the page and start.
⚡ Quick & easy
Drag, drop, click. Most files process in seconds, not minutes. No watermarks added to your output, no per-day limits, and the tool always shows the result before asking you to download.
🎁 Always free, no signup
Free to use, every time. No account creation, no email required, no “trial” that converts to a paid plan. We make money from ads so you don’t have to pay.
Frequently asked
For heavier PDF workflows
Amazon affiliateAs an Amazon Associate we may earn from qualifying purchases. This does not add cost for you.
Related PDF tools
More tools you might like
Hand-picked tools that pair well with this one — same audience, same intent.
Drop a PDF + a CSV with title/page columns — every CSV row becomes a flat bookmark in the PDF outline.
Automatically generate bookmarks from a PDF's heading-style text — detected by font size — without you having to type a thing.
Detect H1/H2-style headings in a PDF (by font size) and prepend a generated Table of Contents page with page numbers.
Find every occurrence of text in a PDF and report page number + surrounding context — for review, redaction prep, or migration planning.
Add a navigable bookmark sidebar to a PDF — paste a list of "page,title" lines and we wire up the rest.
Read a PDF's bookmarks (outline) and split into one PDF per bookmark — chapter / section / heading-level segmentation.
Tile a watermark text repeatedly across the entire page in a diagonal grid — for documents you want strongly marked.
Tiles needed = (room area / tile area) × pattern-waste factor. Auto-rounds to whole tiles + box count.
Related guides
Long-form editorial covering the topics behind our tools.
- Best Free Online PDF Tools in 2026Comparing SMT to Smallpdf, iLovePDF, PDF2Go on price, privacy, and speed.
- Free Adobe Acrobat Alternatives (2026)What Acrobat does, what you actually need, and which free tools cover 90% of it.
- How to merge PDF files for free in 2026Client-side merging without upload, size limit, or signup.
- How to compress PDF files for free in 2026Size reduction techniques and when quality vs size matters.