Feature Deep-Dive

Selection Mode — Save Exactly What You Want

Don't save the whole page when you only need a paragraph. Highlight the content you want, click Pretty PDF, and get a focused PDF of just your selection.

Free — 3 PDFs per month. No credit card required.

Feature Deep-Dive

Full page is overkill

Sometimes you need one recipe from a cooking site, one answer from Stack Overflow, one code snippet from documentation. You don't need the entire page — you need one specific piece of it.

Most PDF tools give you two options: save the entire page or save nothing. That means your 2-page recipe comes with 8 pages of ads, life stories, and newsletter popups. That single Stack Overflow answer arrives buried in a 12-page document full of related questions, sidebar links, and user profile widgets. The code snippet you wanted is somewhere on page 3 of a 7-page PDF.

Selection mode is the third option. Instead of letting the tool decide what to include, you decide. Highlight exactly the content you want on the page, and Pretty PDF generates a clean PDF containing only your selection — nothing more, nothing less.

Feature Deep-Dive

How selection mode works

Three steps. No configuration. No learning curve. If you can highlight text on a webpage, you can use selection mode.

1. Highlight the content you want

Click and drag to select the text, images, tables, or code blocks you want in your PDF. Select as much or as little as you need — from a single sentence to multiple sections of the page.

2. Open Pretty PDF and select "Selection" mode

Click the Pretty PDF extension icon and choose "Selection" as your capture mode. The extension detects your highlighted content and prepares it for conversion.

3. Generate a focused PDF

Click Generate and download a clean, professionally styled PDF containing only your selected content. Your chosen template is applied automatically for polished output.

Feature Deep-Dive

What you can select

Selection mode captures any content you can highlight in your browser. All formatting and structure are preserved in the output PDF.

Text paragraphs

Select any amount of body text — from a single sentence to dozens of paragraphs. All inline formatting including bold, italic, and hyperlinks is preserved in the PDF output.

Code blocks with syntax formatting

Highlighted code blocks retain their monospace formatting, indentation, and line structure. Long lines wrap cleanly in the PDF instead of overflowing off the page edge.

Tables complete with headers

Data tables maintain their column structure, header rows, and cell alignment. The PDF template applies clean table formatting optimized for print regardless of original table styling.

Lists — ordered and unordered

Bullet lists, numbered lists, and nested sublists keep their hierarchy and indentation intact. The list structure is preserved so the PDF reads exactly as the original page does.

Images within your selection

Any images that fall within your highlighted selection are included in the PDF at their original resolution. Figures and their associated captions are captured together and positioned correctly in the document flow.

Mixed content — text + images + code

Your selection does not need to be a single content type. Select a paragraph followed by a code block followed by a table — the PDF includes all of it in the correct order with proper formatting for each element.

Feature Deep-Dive

Cross-section selection

Selection works across DOM boundaries. Select content spanning multiple sections, columns, or containers — Pretty PDF reconstructs the selection into a coherent PDF document.

Webpages are built from nested HTML elements — divs, sections, columns, grids, and flex containers. When you highlight content in your browser, your selection often spans multiple containers that have completely different parent elements in the page structure. A naive selection capture would break at each container boundary, producing fragmented output.

Pretty PDF handles this correctly. The extension captures the full selection range from the browser DOM, including all content between the start and end points regardless of how many container boundaries it crosses. The server then reconstructs this content into a single coherent document, preserving the reading order and formatting of each element while stripping away the container structure that only existed for page layout purposes.

This means you can select content that starts in a two-column layout, continues through a full-width section, and ends inside a sidebar — and the resulting PDF will present all of it as a clean, linear document with no layout artifacts or missing content.

Feature Deep-Dive

Perfect use cases

Selection mode shines when you need a specific piece of a page rather than the whole thing. Here are six scenarios where it saves you time and page count.

Save recipes without 20 ads

Recipe sites are notorious for burying the actual recipe under paragraphs of backstory and dozens of ad placements. Highlight just the ingredient list and instructions, and get a 1-page PDF instead of a 12-page mess.

Capture a single Stack Overflow answer

Stack Overflow pages contain the question, multiple answers, comments, related questions, and sidebar content. Select just the accepted answer — or the specific answer that solved your problem — and save it as a focused reference document.

Save specific code snippets from docs

Documentation pages often contain dozens of code examples across multiple sections. Highlight only the example you need — with its surrounding explanation — and generate a compact reference PDF you can keep open while you code.

Extract a quote or passage for research

When you need to cite a specific passage from an article or report, highlight just that section. The PDF preserves the text exactly as published, and the source URL is embedded in the document metadata for proper attribution.

Save product specs without sidebar junk

Product pages are packed with recommendations, reviews, and promotional banners. Select the specifications table and key details to get a clean comparison document without the shopping site clutter.

Grab specific instructions from a tutorial

Long tutorials cover setup, multiple approaches, troubleshooting, and advanced configuration. Select just the steps relevant to your situation and save a concise how-to PDF tailored to exactly what you need to do.

Feature Deep-Dive

Templates work with selections too

All 5 PDF templates apply to selected content just as they do to full-page and article captures. Your selection gets the same professional styling, embedded fonts, and print-optimized layout.

Selection mode does not produce raw, unstyled output. The content you select passes through the same template engine used by Article and Full Page modes. Choose any of the 5 built-in templates and your selection will be rendered with that template's typography, margins, colors, and layout rules.

Academic template is ideal for research quotes and cited passages. Its serif typography and generous margins give selected text a scholarly appearance that fits naturally into academic workflows. Select a key passage from a journal article and the output reads like a properly formatted excerpt.

Corporate template works well for business excerpts — a section from a competitor's pricing page, key findings from an industry report, or meeting notes from a shared document. The clean sans-serif styling and professional spacing produce output suitable for presentations and internal reports.

Dark template is purpose-built for code snippets. When you select a code block or a mix of code and surrounding explanation, the dark background and monospace formatting make the output immediately recognizable as a technical reference. Developers who keep PDF references of useful code snippets will find this template indispensable.

The Clean and Minimal templates offer lighter options for general-purpose selections where you want the content to speak for itself without strong visual styling.

Frequently asked questions about selection mode

Yes. Selection mode works across DOM boundaries, so you can highlight content that spans multiple sections, columns, or containers on a page. Pretty PDF reconstructs your selection into a coherent, well-structured PDF document regardless of how the original page was laid out. The selection does not need to be confined to a single HTML element or section — just highlight from where you want to start to where you want to end.
Yes. All inline formatting within your selection is preserved in the output PDF. Bold text remains bold, italic text remains italic, inline code keeps its monospace formatting, and hyperlinks remain clickable in the final document. The selected content passes through the same template engine as Article and Full Page modes, so it receives the same professional typography and print-optimized styling.
Absolutely. Selection mode captures whatever content falls within your highlight — text paragraphs, images, tables, code blocks, lists, and any combination of these. Tables retain their column structure, headers, and alignment. Images are embedded at their original resolution. If your selection starts in a paragraph and ends inside a table, both the text and the table rows within the selection are included in the PDF.
Simply clear your selection and try again before generating the PDF. You can also make a more precise selection by clicking at the start point and shift-clicking at the end point, which gives you finer control than click-and-drag. If you find that the selection consistently picks up unwanted elements like sticky headers or floating sidebars, try scrolling so those elements are not overlapping your target content before making your selection.
Selection mode works on any website where you can highlight text in your browser. Since it captures whatever content you have selected in the live DOM, it works equally well on static HTML pages and JavaScript-rendered single-page applications. The only limitation is content inside iframes or shadow DOM elements that the browser does not allow you to select natively — but this is rare and affects very few sites.

Save exactly what you want — try selection mode free

Highlight the content you need, generate a focused PDF, and skip everything else. No more full-page clutter.

Install Free Extension View Pricing