Toolvito

Processed online by Toolvito

Semantic Chunking Tool

Split a long text into chunks that each keep to one subject. Every sentence is turned into a meaning vector, and a chunk ends where the meaning changes most.

Split text where the meaning changes

Split text where the meaning changes

Markdown headings (#, ##) always start a new chunk.

Or drop files here. TXT, MD, MARKDOWN, HTML, HTM, XHTML, DOCX, ODT, EPUB or PDF, up to 20 files, 100 MB each at most.

    In the unit chosen under “Count size in”.

    Smaller pieces join the chunk before them.

    50–99. Higher makes fewer, longer chunks: only the biggest changes of meaning split.

    Files to make

    More options

    1 = only main headings, 2 = also sub-headings, 0 = ignore headings.

    When you run a task here, Toolvito receives the information you submit for processing. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.

    How to split by meaning

    1. Paste the text, or choose documents (PDF, Word, Markdown, HTML, OpenDocument, EPUB or text).
    2. Choose the model: English (all-MiniLM-L6-v2) or 50+ languages (paraphrase-multilingual-MiniLM-L12-v2).
    3. Set the largest and smallest chunk size and the split sensitivity.
    4. Press Split into chunks and download the chunks as JSONL, JSON, CSV or Markdown.

    How the split points are found

    • The text is cut into sentences. Each sentence gets a meaning vector from the model, on the Toolvito server.
    • At each gap between sentences, the average meaning of up to three sentences before it is compared with up to three sentences after it. One odd sentence does not make a split; a change of subject does.
    • A gap becomes a split point when its distance is a local peak and higher than the chosen percentile of all gaps (90 means: only the top 10% of changes).
    • Headings always start a new chunk. Chunks are kept under the largest size; chunks under the smallest size join the one before them.
    • The result says how many sentences were read, the distance that was used and the model name.

    Good to know

    • Meaning vectors find changes of topic, not changes of argument within one topic. Check the chunks before you index them.
    • Fast fixed windows or heading-based chunks are on the Document Chunker page (the same tool).
    • Sizes are counted with the MiniLM tokenizers (or in words or characters); other AI models count tokens differently.

    Related tools