Classify Text Against Labels You Invent, With No Training
Give a model any set of categories and it sorts your text into them — no training data, no fine-tuning, no API key.
Zero-shot classification sorts text into categories you invent at runtime, with no training data. It works by reframing classification as natural language inference: your text becomes a premise and each label is turned into a hypothesis whose entailment probability becomes the score. This runs a DeBERTa NLI model in your browser, so the text is never uploaded.
Runs in your browser- Uploads
- None — the model is downloaded to you, not the reverse
- Runs on
- WebGPU where available, WebAssembly otherwise
- Privacy
- Runs entirely in your browser — nothing is uploaded
- Cost
- Free, unlimited, no sign-up
Frequently asked questions
Why does changing the hypothesis template change the answer?
When should I use a trained classifier instead?
How to use the zero-shot text classifier
- 1Enter or paste your text.
- 2Enter or paste your labels.
- 3Choose the model.
- 4Turn "Allow more than one label per item" on or off as needed.
- 5Enter or paste your hypothesis template.
- 6Press Run, then download the result when it is ready.
Sources & specifications
Embed this tool
Put the working zero-shot text classifier on your own site. It runs in your visitors' browsers exactly as it does here — free, no account, nothing uploaded.
Share this tool
Related tools
AI Text SummarizerCondense an article into a few sentences with a summarisation model running locally — nothing uploaded, no limit.Sentence SplitterBreak a paragraph into one sentence per line, handling abbreviations and decimals correctly.AI Alt Text GeneratorDescribe an image with a captioning model running in your browser — a first draft for the alt attribute you then edit.AI Audio TranscriptionRun Whisper locally to turn speech into text, SRT, VTT or a timestamped transcript. Works offline after the first run.AI Background RemoverCut the subject out of a photo with a real segmentation model that runs in your browser. No upload, no sign-up, no watermark.AI Content DetectorScore text with a real language model in your browser and see the per-token surprise that detection methods are built on.
Last updated
More on-device ai