Frequently asked questions
Are the token counts exact?
They're heuristic estimates — within ±10% of the real tokenizer for English prose, wider for code-heavy or non-Latin text. We don't bundle a real tokenizer because the smallest one would add 150 KB to every page load. For exact billing-grade counts, run the prompt through the provider's API.
Why would I clean a prompt?
Pasted prompts often carry zero-width characters, BOM markers, smart quotes, and non-breaking spaces from Word, ChatGPT's UI, or PDFs. These bloat the token count, occasionally trigger sanitisation filters, and sometimes interfere with downstream parsing. The cleaner removes them deterministically.
What does JSON Escape do?
It converts any text into a string body safe to embed inside a JSON string literal — backslashes, quotes, newlines all escaped. Drop the output between the quotes of an existing JSON config field. Useful when wiring system prompts into Anthropic / OpenAI / Vertex configs.
How is this different from pasting into ChatGPT or Claude's web tools?
The major LLM web UIs send your prompt to their server — that's how they work. Even when a vendor pledges 'we don't train on your data', the prompt still leaves your machine and lives in their logs for some retention period. SnapToolz' prompt utilities run entirely in your browser, so the text never moves. Use SnapToolz for cleaning/inspection; use the LLM vendor when you actually need a response.
Can I use this for proprietary system prompts or client data?
Yes — that's the use case it's best at. Token counting and prompt cleaning are pure text operations that don't require model inference. Doing them locally means your trade-secret prompts and customer data never become someone else's training data, log entry, or breach exposure surface.
Are my files uploaded anywhere?
No. Every SnapToolz tool runs entirely in your browser using JavaScript and WebAssembly. Files are read locally, processed in memory, and the result is offered as a download. There is no backend.
Is everything free?
Yes — every tool in this category and on the entire site is free with no sign-up, no daily limit, and no watermark.