A 40-page report usually contains about four pages of substance and thirty-six of support, repetition and ceremony. Finding the four pages is the whole problem of summarising. A human skims for the sentences that carry the argument; this tool does the statistical version of the same thing — it counts which words a document keeps coming back to, scores every sentence by those words, and keeps the best ones, untouched, in order. This guide explains the method plainly, what the three lengths really do, and where the honest limits of selection-without-understanding lie.

How to summarize a document, step by step

Quick answer: Drop a PDF or .txt file onto the upload area, or paste text into the box. Choose Short, Medium or Detailed, click Summarize Document, and read the selected sentences in the panel — with the word counts, the percentage reduction and the reading time shown above them. Copy, download or print the result from the buttons below.

A PDF is extracted page by page first — the progress bar counts the pages, because each one is genuinely read. A text file is read directly, and pasted text needs no preparation at all. If both a file and pasted text are present, the pasted text wins, because it is the one you most recently touched; clear the box to go back to the file. When extraction finishes, the line under the upload area tells you how many words are loaded and ready.

If the PDF is a scan, the tool stops and tells you there is no readable text — a summary of nothing would be a lie, so it refuses to produce one. A password-protected PDF gets the same plain treatment: remove the password first with the PDF Password Remover if you know it. And if what you actually need is the document as editable text rather than a summary, the PDF to Word Converter is the neighbouring tool for that job.

What “summarizing” means here — honestly

Two technologies share the word. A generative AI reads a document and writes a new, shorter text about it — fluent, genuinely reworded, and capable of drifting: numbers can be rounded wrong, caveats dropped, a claim strengthened in the retelling. This tool does the older thing, extractive summarisation: it writes nothing at all. It selects sentences from your document and presents them, word for word, in their original order. The summary cannot contain a fact your document does not, because it cannot contain a sentence your document does not.

The trade is understanding. Selection is statistical, so the tool cannot tell a pivotal sentence from a repetitive one if the pivotal sentence uses rare words. That is why the label sits on the tool itself, above the button: extractive, not AI rewriting. Used for orientation — the first pass over a long document, the gist before the meeting, the shape of an argument — it is fast and safe. Used as a substitute for reading a document you must act on, it is the wrong tool, and the guide says so rather than letting the polish of the output imply otherwise.

This tool has a sibling on the site: the Writing Summarizer applies the same extractive method to shorter pasted texts. This Document Summarizer is the file-oriented version — it opens PDFs page by page, accepts .txt files, and reports fuller statistics. And if your task is not shortening but finding — one fact inside a long PDF — the PDF Question Answering tool searches the same kind of document by question instead.

How sentences are scored under the hood

The method is a direct descendant of the frequency approach Hans Peter Luhn described at IBM in 1958, and it has survived because documents really do circle their subjects. First the text is split into sentences. Then every word is counted across the whole document — ignoring filler words (the, and, of and their kin, which appear everywhere and mean nothing), and reducing word forms to roots, so budget, budgets and budgeting count as one word. A word that appears thirty times is, statistically, what the document is about.

Each sentence then earns a score from the frequencies of its content words: the frequencies are added up, then divided by the square root of the sentence's content-word count — so a long sentence gets some credit for covering more ground, but cannot win merely by being long. A modest position bonus is added: sentences near the start of the document score a little higher, because reports, papers and letters conventionally state their main points early. Finally the top sentences for the chosen length are taken — and re-sorted into the document's original order before display, because a summary that jumps around its source is hard to check and unpleasant to read.

Everything happens in your browser. The PDF's text is extracted by pdf.js, the counting is ordinary arithmetic on that text, and no model is loaded and no server is consulted. The statistics panel shows the working honestly: original words in, summary words out, and the percentage between them.

A worked example: ten sentences in, three out

Method descriptions are easy to nod at and hard to picture, so here is the tool's actual output — produced by this page's own code — for a ten-sentence document about a council budget, padded with the kind of off-topic sentences real documents accumulate:

“The committee published its budget report on Monday. The budget allocates forty million dollars to road repairs. Rain fell across the region during the night. The budget also funds twelve new libraries in rural districts. A local bakery won a national award for its sourdough. According to the budget, school funding rises by eight percent. The mayor praised the budget for protecting frontline services. Gardeners expect a mild spring this year. The budget committee will review spending again in October. Tickets for the summer festival go on sale next week.”

The word budget (in its stemmed form) appears six times — more than any other content word — so sentences containing it start with an advantage, and the position bonus adds a little more for the early sentences. The full selection, at each setting:

#SentenceShortMediumDetailed
1The committee published its budget report on Monday.✓✓✓
2The budget allocates forty million dollars to road repairs.✓✓
3Rain fell across the region during the night.
4The budget also funds twelve new libraries in rural districts.✓✓✓
5A local bakery won a national award for its sourdough.
6According to the budget, school funding rises by eight percent.✓
7The mayor praised the budget for protecting frontline services.
8Gardeners expect a mild spring this year.
9The budget committee will review spending again in October.✓
10Tickets for the summer festival go on sale next week.

At the Medium setting the summary is sentences 1, 2 and 4, restored to their original order: the report announcement, the road-repairs allocation and the libraries sentence. The statistics panel reports the honest arithmetic: 90 words in, 27 words out — 70% shorter — and a reading time of about 27 seconds falling to about 8, at the 200-words-per-minute rate the tool uses. One mechanical point the example shows: the kept sentences are printed in document order, not score order. The tool ranks to choose, then re-sorts to present, because a summary that opened with the libraries sentence and jumped back to the announcement would be harder to follow and harder to check against the source; the visible gap where the weather sentence stood is the price of that honesty, and it is worth paying.

Notice, too, the failure mode hiding in the example. The school-funding sentence — arguably the most newsworthy line in the document — only just makes the Detailed cut, because its key words (school, funding, percent) appear nowhere else and earn no frequency. And the mayor's praise sentence, despite containing budget, is kept at no setting: its remaining words are all one-offs, and by sentence 7 the position bonus has faded. That is the extractive trade in miniature — repetition is the tool's only evidence of importance, so a fact stated exactly once is always at risk. For documents you must act on, read the Detailed summary against the original rather than instead of it.

The position bonus, quantified: the first sentence's score is multiplied by 1.25, the seventh sentence's by about 1.09, and by the twelfth sentence the multiplier is about 1.04 — a nudge that fades, never a veto. It exists because documents front-load: abstracts, executive summaries, opening paragraphs and first agenda items are where writers put their main points. But it is also why a crucial sentence buried at the end of a long document needs frequency as well as importance to survive the cut — one more reason the Detailed setting, which keeps more sentences, is the safer choice for anything consequential.

Short, Medium or Detailed: choosing a length

The three settings are sentence targets — a fraction of the document's sentences, with a floor and a ceiling so very short and very long documents behave sensibly:

SettingShare of sentencesMinimumMaximumBest for
Short~12%25The gist: triage, a first pass, deciding whether to read the whole thing
Medium~22%310The working summary: briefings, meeting prep, most reports
Detailed~35%518A faithful digest: documents you must act on but cannot read in full

Two consequences are worth knowing. A short document may come back nearly whole — a 6-sentence memo has nothing spare at any setting, and the reduction figure will honestly show it. And because the fraction applies to sentences, not words, a document of long sentences reduces less in word count than one of short ones; the statistics always report the real word counts, so you see the reduction you actually got rather than the one the setting promised.

The three lengths, by document size

The settings are fractions of the document's sentence count — roughly 12%, 22% and 35% — but floors and ceilings keep very short and very long documents sensible: Short never keeps fewer than 2 or more than 5 sentences, Medium stays between 3 and 10, and Detailed between 5 and 18. The table below shows what that means in practice; every figure was produced by running documents of that size through this page's own code:

Sentences in the documentShort keepsMedium keepsDetailed keeps
6235
10235
20247
5051018
20051018

Two patterns matter. At the small end, the floors dominate: a 6-sentence memo summarized at Detailed comes back with 5 of its 6 sentences — the tool will not pretend that is a dramatic reduction, and the percentage in the statistics panel will say so. At the large end, the ceilings dominate: a 200-sentence report and a 2,000-sentence book both cap at 18 Detailed sentences, because past that point a “summary” stops being a summary. In the middle — the 20-to-100-sentence documents most people actually summarize — the fractions rule, and the three settings give genuinely different depths of the same document.

Sentence count, not word count, drives all of this, which has one practical consequence: a document written in long, clause-heavy sentences reduces less in words than the same content written plainly, because each kept sentence carries more words with it. The statistics panel always reports the true word counts and the true percentage, so judge a summary by those figures rather than by the setting's name — and if a document reduces suspiciously little, the cause is usually its sentence length, not a fault in the tool.

One splitting quirk is worth knowing before you summarize formal documents. Sentences are split where a full stop is followed by a capital letter — which means an abbreviation such as “Dr.” in “Dr. Smith” is mistaken for a sentence end, and the fragment “Dr.” becomes a candidate sentence of its own. Decimals are safe (the “2.5” in “2.5 percent” does not split, because no space follows the point), but documents dense with “Dr.”, “Mr.”, “U.S.”-style abbreviations will count a few phantom sentences, and a fragment can occasionally be selected. If a summary contains a stray “Dr.”, that is the cause — the sentence it belonged to is still in the original, one line down.

Getting a better summary: input tips

  • Summarize one document at a time. Pasting three reports together makes their vocabularies compete; each report's key sentences score against the others' words and the result serves none of them. One document per summary, then combine the summaries yourself if needed.
  • Cut the furniture first. If you paste, leave out cover pages, tables of contents, headers, footers and disclaimers. Their repeated boilerplate words distort the frequencies the scoring depends on.
  • Match the setting to the risk. Short for triage, Detailed for anything you will act on. The cost of Detailed is a minute of reading; the cost of a missed caveat can be higher.
  • Check the sentences around a gap. If the summary jumps oddly, a linking sentence was cut. The original order is preserved, so the gap is visible — open the source at that point rather than guessing the connection.
  • For a PDF, prefer the text original. A PDF exported from a word processor extracts cleanly; a scanned one needs OCR first. Garbled extraction makes garbled frequencies.

Extractive selection vs AI rewriting

The two approaches fail in opposite directions, which is the real choice between them. Extraction cannot invent: its worst failure is omission — an important sentence left behind. Rewriting cannot guarantee fidelity: its worst failure is confident alteration — a figure changed, a condition dropped, a hedge turned into a claim. For a first pass over a long document, omission is usually the safer failure, and it is checkable: the summary's sentences can be found in the original in seconds. For a document that must be genuinely re-expressed — simplified for a different audience, translated in spirit, merged with other sources — rewriting is the right tool and extraction is not a substitute. This page's position is simply that you should know which one you are using, which is why the method is labelled on the tool and explained in this guide rather than hidden behind the word "AI".

The honest limits

Frequency is not importance: a sentence can be crucial and lexically unique, and this method will underrate it. Tables, lists and figures largely escape summarising — a table's numbers are not sentences, so a document whose substance lives in its tables will summarize thinly. Headings and captions can score oddly, since they are fragments rather than sentences. Non-English documents summarize crudely, because the filler-word list and root-matching are English. And the tool reads text only: scanned PDFs, images of pages, and handwriting are invisible to it until OCR turns them into text. None of these limits is hidden in the output — the statistics, the method note and this section exist so the summary is used at its real strength: a fast, faithful first pass.

Sources & References