All tools

Chunk Visualizer

Test fixed-size, recursive, and markdown header chunking with overlap highlights.

AI & Prompts
Privacy: 100% Client-Side. Your data never leaves this browser tab. Processing uses Web APIs and client-side libraries only.

Experiment with fixed-size, recursive character, and markdown-header chunking. Overlap regions are highlighted in amber.

7 chunks · source 451 chars · ~84 tokens (cl100k)
# IntroductionRetrieval-augmented generation works best when documents are split into coherent chunks.## Why chunking mattersEmbeddings capture local meaning. Oversized chunks dilute signal; tiny chunks lose context.### OverlapOverlap preserves continuity across boundaries so answers that span two sections still retrieve well.## Markdown headersHeader-aware splitters keep sections intact when possible, then fall back to size limits.
  • #0[0, 104)104 chars~20 tok
    # Introduction
    
    Retrieval-augmented generation works best when documents are split into coherent chunks.
  • #1[74, 194)120 chars~25 tokoverlap≈30
    re split into coherent chunks.## Why chunking matters
    
    Embeddings capture local meaning. Oversized chunks dilute signal;
  • #2[164, 220)56 chars~12 tokoverlap≈30
    versized chunks dilute signal; tiny chunks lose context.
  • #3[190, 310)120 chars~23 tokoverlap≈30
    nal; tiny chunks lose context.### Overlap
    
    Overlap preserves continuity across boundaries so answers that span two secti
  • #4[280, 334)54 chars~10 tokoverlap≈30
    so answers that span two sections still retrieve well.
  • #5[304, 424)120 chars~22 tokoverlap≈30
     sections still retrieve well.## Markdown headers
    
    Header-aware splitters keep sections intact when possible, then fall 
  • #6[394, 445)51 chars~12 tokoverlap≈30
    tact when possible, then fall back to size limits.
    

What is Chunk Visualizer?

Chunk Visualizer is part of the stbox.dev developer sandbox. Test fixed-size, recursive, and markdown header chunking with overlap highlights.

It sits in the AI & Prompts category and is designed for day-to-day debugging, demos, and learning — without forcing you to paste secrets into opaque third-party SaaS forms whenever client-side execution is enough.

How to use this tool

  1. Open Chunk Visualizer at https://stbox.dev/chunks and review the privacy badge for runtime expectations.
  2. Paste or configure your input in the tool interface (tokens, URLs, files, or text depending on the utility).
  3. Copy results locally, or chain them into related stbox tools such as JWT, OAuth, or the REST client.

Frequently asked questions

Is my data sent to a server?

Chunk Visualizer runs 100% in your browser. Inputs stay on your device and are not logged or stored by stbox servers.

Is stbox free to use?

Yes. Tools are provided as-is for testing and debugging with no account required for core utilities.

Can I use this for production secrets?

Prefer dedicated KMS/HSM workflows for production key material. stbox is optimized for local debugging and education.