Count AI tokens in OpenAPI spec before you send it to a model.
Free: 10 runs a day without an account, 30 with one. Files up to 10 MB.
The OpenAPI Spec Token Counter is a free online tool from PageGPT: count AI tokens in OpenAPI spec before you send it to a model. It runs on the page in seconds with no AI guesswork — the output is taken straight from the source. Free, no sign-up.
Clean Markdown and plain text are what AI models read best: no menus, scripts or cookie banners, just the content. It is the same cleaning PageGPT does before training a chatbot on a page.
Every plan starts with a 7-day trial. Basic is $7.99/month for 3 chatbots and 250 pages; Pro is $49.99/month for 5,000 pages and 10,000 messages.
How it works
Choose a file — it is read on our server and not stored.
The result appears instantly below the tool.
Copy it or download the file. Clean content is also exactly what a PageGPT chatbot trains on.
Why use it
Output comes straight from the source — no AI rewriting.
Menus, scripts and boilerplate removed.
Get a file you can open anywhere or feed to an AI.
Use it straight away. An account only raises the free limits.
FAQ
Yes — 10 runs a day with no account.
Some sites block automated requests or only show content after login. For pages that build their content with JavaScript we retry with a headless browser; if it is still empty, copy the text and paste it into a text tool instead.
PageGPT builds AI chatbots trained on your own website, PDFs and documents, and embeds them on any site with one line of code. Its free tools cover FAQs, summaries, support replies, token counts, schema and more.
Train a chatbot on this exact content and embed it on your site. PageGPT reads your website, PDFs and docs and answers your visitors from them — with sources, in any language, day and night. Live in about 5 minutes with one line of code.
Build your chatbot free7-day trial on every plan. Cancel anytime.
Keep going
Count AI tokens in Coda doc before you send it to a model.
Count AI tokens in Zendesk tickets before you send it to a model.
Count AI tokens in Intercom conversations before you send it to a model.
Count AI tokens in Freshdesk articles before you send it to a model.
Count AI tokens in HubSpot knowledge base before you send it to a model.
Count AI tokens in Shopify store before you send it to a model.
Count AI tokens in App Store listing before you send it to a model.
Count AI tokens in Trustpilot page before you send it to a model.