TOON Token Calculator

    Compare JSON and TOON sizes, estimate token reduction, and preview savings for LLM prompts.

    Valid
    Browser only
    Paste content, upload a file, or drop it here. Nothing is uploaded.
    JSON tokens
    118
    TOON tokens
    46
    Saved
    72
    61.0%
    Cost saved
    $0.0001
    at selected price
    JSON Input
    11 lines
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    TOON Output
    6 lines
    Ready
    1
    2
    3
    4
    5
    6
    root
    |-- users[3]
      |-- item
        |-- id: number
        |-- name: string
        |-- email: string
        |-- role: string
    |-- meta
      |-- source: string
      |-- active: boolean
    Input chars
    317
    Output chars
    154
    Input lines
    11
    Output lines
    6