Qwen Tokenizer Online

Tokenize text with the pinned Qwen 3.5 tokenizer, inspect token boundaries and IDs, and keep your input local.

Ready
0tokens
0characters
0words
Tokenized text will appear here as you type.

Your text stays in this browser. Nothing you paste is uploaded.

How counting works

This page runs the pinned Qwen 3.5 tokenizer locally in a browser Worker and returns token pieces and IDs.

Only plain text is encoded. Qwen chat templates, roles, system instructions, tools, and model-specific request formatting are not added.

For request-volume and output-token calculations, see the monthly LLM API cost guide. Using OpenAI? Check the current OpenAI API token prices.

To compare the same English, Chinese, JSON, and code samples, open the reproducible tokenizer comparison.

View tokenizer source
How StackLens verifies data and calculates cost

Qwen 3.5 tokenizer sourceHigh confidenceChecked 2026-07-19

StackLens pins the Qwen3.5-9B tokenizer JSON and runs it locally in a browser Worker. Chat templates and request wrappers are not added.

FAQ

Qwen Tokenizer questions

Does this Qwen tokenizer run online?

The tool is available online, while tokenization itself runs locally in your browser after the tokenizer asset loads.

Which Qwen tokenizer does this page use?

It uses the pinned tokenizer JSON from Qwen3.5-9B. The page identifies the exact version instead of claiming one count covers every Qwen release.

Can I view Qwen token IDs?

Yes. The result displays token pieces and the IDs returned by the pinned Qwen tokenizer.

Does this include Qwen chat-template tokens?

No. It encodes only the plain text you enter, without roles, system instructions, tools, or a chat template.