Summarize Text Online

Summarise Vietnamese or English articles by picking their most important sentences (TextRank), with keywords and scores; fast, deterministic and without AI costs.

Free tool: 20 requests per minute.

Result

Press “Run” to see the result.

The summarize API produces an extractive summary: it splits the text into sentences, represents each one by its words (Vietnamese words are segmented first, so “ngân hàng” counts as one word), builds a similarity graph between sentences with TF-IDF weights and ranks them with TextRank, the algorithm behind PageRank. The best sentences (or a ratio of the text) are returned in their original order, with their scores, the main keywords and the compression ratio.

Because sentences are copied from the text, the summary never invents facts, and the same text always gives the same summary. Abbreviations such as “TP.” and decimals are handled when splitting sentences, and the language is detected automatically (or set with lang).

Extractive summaries work best on news, reports and documentation. For rewritten, abstractive summaries an AI model is needed; this API deliberately avoids them to stay fast and cheap.

Use this in your code

curl -X POST "https://apibox.io.vn/v1/summarize" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text":"Ngân hàng Nhà nước vừa công bố giảm lãi suất điều hành thêm 0,5 điểm phần trăm… (8 câu)","sentences":3}'

API documentation → Get a free API key

FAQ

Is this AI?

No large language model is used: TextRank is a graph algorithm. Results are deterministic and cost the same as any other request.

How long should the text be?

From a few paragraphs; with fewer than 3 sentences the text itself is returned.

Does it work for Vietnamese?

Yes, with Vietnamese word segmentation and stop words.