Token counter
Estimate the tokens of your text for ChatGPT, Claude or Gemini.
Rough estimate (~4 characters per token). The real number depends on each model's tokenizer.
How it works
Paste your text
Type or paste the content to measure.
Choose the model
ChatGPT, Claude or Gemini.
See the estimate
Approximate tokens and how much of the context it uses.
Why counting tokens matters
Language models don't read words but tokens: chunks of text about four characters long on average. Two things are measured in tokens: the context window (how much text fits in a conversation) and the cost of the APIs. Knowing how many tokens your text uses helps you stay under the limit and estimate spend.
This tool gives you a quick estimate for ChatGPT, Claude and Gemini, and tells you what percentage of each model's context window your text takes. It's an approximation meant to give you an idea, not an official count.
Frequently asked questions
Quick answers to the most common questions about this tool.
What is a token?
Is the count exact?
Why does it change per model?
Is my text sent anywhere?
More tools
Other free tools that run entirely in your browser.
3D printable QR
Create a QR code and download it as a printable 3D object (stand, keychain or plaque) in two colors.
🏠Mortgage calculator
Work out your monthly mortgage payment, total interest and the full amortization table.
🎲Name generator
Generate random names for usernames, gamertags, fantasy, brands or teams.
🔢Word counter
Count words, characters, sentences and paragraphs, with reading time.
🔑Password generator
Create strong, random passwords in your browser, with a strength meter.
🔤Image to text (OCR)
Extract the text from a photo, screenshot or scanned document, in your browser.
🧾PDF to JPG
Turn each page of a PDF into a JPG or PNG image. Download singly or as a ZIP.
📚Image to PDF
Combine several photos or images (JPG, PNG) into a single PDF, in the order you want.
🖼️Resize image
Change the size of your photos to any pixel dimensions, without uploading them.
🔄Convert image
Convert between JPG, PNG and WebP, and turn iPhone HEIC photos into JPG.
🧹Clean text
Remove Markdown formatting, invisible characters and emojis from AI-generated text.
📝Markdown converter
Convert Markdown to HTML or text, and your formatted text or HTML to Markdown.
✍️Fancy text
Turn your text into bold, italic, cursive and symbol styles to copy and paste on social media.
⏱️Hours calculator
Add and subtract hours and minutes, and find the difference between two times.
⏳Countdown
Create a live countdown to any date: a birthday, a trip, an event.
📈Compound interest
See how your savings or investment grow with compound interest and regular contributions.
✒️Sign PDF
Draw your signature and place it on a PDF. The document never leaves your device.
📏Unit converter
Convert length, weight, temperature and volume: cm to inches, kg to pounds and more.