Text Embedding Generator
Turn pasted English text into a 384-value MiniLM embedding. Review token coverage, then copy or download vector JSON.
- Free
- Works Offline
- No Uploads
How to Generate a Local Embedding
- Open the HTML, review Security Check, then select Continue.
- Use the bundled MiniLM or choose the pinned ONNX file. Model Details lists the revision and SHA-256.
- Paste English text or select Open Sample. Up to 32,768 UTF-16 code units can be counted.
- Review the token counts before generating. The first 254 content tokens are used, with two special tokens. When text exceeds the cap, remaining tokens are omitted.
- Choose Generate Embedding to run one local input at a time. Cancel stops the worker and preserves your text.
- Review the 384-number result and choose Copy JSON or Download JSON. The report includes provenance and token counts. It omits the original text.
- Compare embeddings generated using the same revision and processing profile. Quantized arithmetic may differ across inference engines.
Review the Model, Tokens and Vector
- Paste English text or choose Open Sample to run the pinned MiniLM sentence embedding tool.
- See the full token count and how many tokens fit before computing local embeddings.
- Copy or download 384 precise numeric values and the provenance needed to compare results using the same model.
Formats and Compatibility
| Input | Pasted English text and an optional local copy of the exact pinned quantized MiniLM ONNX model. |
|---|---|
| Output | JSON with 384 finite numbers, model and tokenizer identities, unit L2 normalization, and processed and omitted token counts. |
| Browser | A modern browser with local file support. |
| Scope | One pinned English MiniLM model with 384-value embeddings and a 254-content-token limit. |
| Operating Systems |
Local Processing Without Uploads
Use the text embedding generator without uploading. This browser-based workbench runs on your device with no upload or account.
Select Open Sample to see the workflow with the included example.
MiniLM Model and Text Limits
The local text embedding generator processes the first 254 content tokens. Two control tokens fill the 256-token sequence. The bundled CPU runtime uses WebAssembly SIMD.
Copy Exact Vector JSON
The free text embedding generator exports the vector and identifies the exact model revision, tokenizer, normalization and token coverage.
Frequently Asked Questions
Can I use the text embedding generator offline?
Yes. The text embedding generator download includes the standalone HTML, model and runtime. Extract it and open the HTML locally.
Can I use the text embedding generator in browser?
Yes. Use a supported modern browser with WebAssembly SIMD and gzip decompression. Processing stays on your device.
What happens when the text exceeds the model limit?
The preview shows how many tokens will be omitted. The tool generates a vector for the first 254 content tokens and adds two special tokens.
Can I import another ONNX embedding model?
This release supports one exact quantized MiniLM file. Model Details identifies the pinned download revision and SHA-256.
How is the vector normalized?
The tool averages active token vectors, including the two special tokens, and scales the result to a unit L2 norm.
Does this tool work offline on Windows, macOS, Linux, and ChromeOS?
Yes. Local Studio tools run offline on Windows, macOS, Linux, and ChromeOS. Download the tool ZIP, extract it, and open the included HTML file in a supported browser. Your files are processed on your device without uploads.
Which browsers can I use with this offline tool?
Use a current version of Google Chrome, Microsoft Edge, Mozilla Firefox, or Safari where that browser is available for your operating system. Chrome is built into ChromeOS, and Safari is available on macOS.