The Magic Codex

Text Summarizer

Paste an article, chapter, or essay. Get back its most important sentences — picked by a real scoring algorithm, kept in the author's original order.

Everything stays in your browser. Nothing is uploaded or stored.

sentences

Summary

Your summary will appear here.

How to get a good summary

This summarizer is extractive: it selects sentences that already exist in your text, word for word. That makes it trustworthy — nothing is paraphrased or invented — but it also means the summary can only be as good as the source.

  1. Paste the full text — an article, a chapter, your own draft. More context gives the word-frequency scoring more to work with.
  2. Start short. Three sentences or 20% is a good first pass. If the result feels thin, lengthen it.
  3. Read the keywords. If the top keywords don't match the topic you expected, the text may wander — and the summary will wander with it.
  4. Remember it's a selection, not a rewrite. For study notes, use the summary as an outline and add your own words around it.

How the scoring works

First, the tool counts every meaningful word (common words like the and is are removed). Then each sentence gets a score: the average frequency of its meaningful words. A sentence scores high when it talks about the words your text repeats most — its main topics. Averaging (rather than adding) normalizes for length, so a long rambling sentence can't win just by containing more words. The top scorers are picked, then returned in their original order so the summary still reads naturally.

Extractive vs. AI summaries

AI summarizers rewrite your text — fast, but they can invent details that were never there. An extractive summarizer never invents anything: every sentence in the summary is a sentence from your text. For quotes, citations, and study material you can trust, extraction wins.

How does the summarizer choose sentences?
It counts how often each meaningful word appears in your text (common words like 'the' and 'is' are ignored), then scores every sentence by the average frequency of its meaningful words. The highest-scoring sentences win — a sentence scores well when it talks about the words your text repeats most.
Why does the summary keep the original sentence order?
Because a summary should still read like your text. The tool ranks sentences by score to pick them, then puts the winners back in the order they appeared, so ideas flow the way the author wrote them.
What summary length should I pick?
For a quick overview, try 20–30% of the sentences. For study notes, 3–5 sentences usually captures the core of a page. Longer summaries keep more detail but save you less time — start short and lengthen it if something feels missing.
Is this AI? Does it rewrite my text?
No. This is an extractive summarizer: it only selects sentences that already exist in your text, word for word. Nothing is paraphrased or invented, so every sentence in the summary is a sentence you pasted.
Can it summarize a whole book chapter?
Yes, if the chapter is pasted as text. Very long texts (tens of thousands of words) may feel sluggish on older phones, but anything up to a long article or essay runs instantly.
What are the keywords for?
They're the most frequent meaningful words in your text — the same word counts that drive the scoring. They make a quick topic check: if the keywords don't match what you think the text is about, the summary probably won't either.
Is my text sent anywhere?
No. All summarizing happens in your browser with JavaScript. Nothing is uploaded, stored, or tracked.

Need help with this tool?

Found a bug, or have a suggestion for the codex? Write to us — a real human reads every message.

[email protected]

More from the codex