SOURCE CONTEXT CALCULATOR

Count the code.
Know the context.

Paste source text or point to a public GitHub repository. Get a clear token report you can inspect, share, and download.

Automatic detection

Input beginning with https:// is tried as a GitHub repository first. If retrieval fails, the full input is counted as ordinary text.

Download settings

Ask before a repository ZIP passes this size. Continuing processes the complete repository without a hard limit.

MB