DL
    beginner

    Tokenization Strategies (Word vs Subword vs BPE)

    algorithms.live

    Input

    Configuration

    Word-Level

    Splits text into words and punctuation. Simple but creates large vocabularies.

    Pros:
    • Easy to understand
    • Preserves word boundaries
    • Fast
    Cons:
    • Large vocabulary size
    • Cannot handle unknown words
    • No morphological understanding

    Actions

    Enter text and click Tokenize to begin

    Which tokenizer has this problem?

    Sort

    Sort each trait by the tokenization strategy it belongs to.

    Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.

    Word-level

    Drop items here

    Character-level

    Drop items here

    Subword / BPE

    Drop items here
    6 pieces left to place

    Test your knowledge

    20 questions
    Question 1 of 20
    Score: 0

    Why must text be tokenized before a neural network can process it?

    Interview Questions

    Meta
    Google
    Hugging Face
    Hugging Face
    OpenAI
    Anthropic
    Duolingo
    Meta
    Cohere
    GitHub
    Microsoft
    JetBrains
    Anthropic
    OpenAI
    Mistral

    Love this visualization?

    Sign up to track your progress, earn achievements, use the AI assistant, and access your personal learning dashboard.

    100% free • No credit card required