UseToolSuite UseToolSuite

AI Entity Extractor (NER)

Extract people, companies, places, amounts or any type you name from text in 20+ languages, with exact detection of emails, IBANs and card numbers, and a redacted copy ready to share.
Standard / Spec
GLiNER-X · GLiNER multi v2.1 (ONNX) + exact patterns
Execution
100% Client-Side
Privacy Level
Zero Data Stored
License / Cost
Free / No Account
Any entity type you name 20+ languages Exact emails, phones, IBANs, cards Redacted copy, CSV/JSON, nothing uploaded
0 words

Find these entity types

Write types as short English phrases ("medication", "flight number"); the text itself can be in another language. Exact types are found by pattern, with checksums for card numbers and IBANs, so they are never guessed.

Any entity type, found by meaning or by pattern

By meaning. The extractor runs GLiNER, a model that reads the text together with the list of types you ask for and marks every span that fits one of them. Because the types are part of the input, you are not limited to people, places and organisations: "medication", "case number", "ship name" or "ingredient" work the same way, in English, Turkish, German, Spanish, Chinese and about 20 other languages.

By pattern. Email addresses, phone numbers, URLs, IP addresses, IBANs and card numbers have a fixed shape, so they are matched exactly instead of guessed. IBANs must pass the mod-97 check and card numbers the Luhn check, which keeps order numbers and other long digit runs out.

What you get. The text with every entity coloured by type, a de-duplicated list with how often each entity appears, CSV and JSON exports with character offsets, and a redacted copy that swaps the entities you choose for tags such as [PERSON_1], keeping the same number for the same person. The model runs in your browser; the text is never uploaded.

From four fixed labels to any type you need

The previous version of this page ran an English BERT model trained on CoNLL-2003. It knew four labels (person, organisation, location and “miscellaneous”), ran twice for every request and inserted the analysed text into the page as HTML. Anything outside those four labels, from medications to case numbers, was out of reach, and so was any text not written in English.

The new extractor uses GLiNER, a family of models built for open-type entity recognition. Instead of a fixed output layer with one slot per label, GLiNER reads the type names as part of its input, encodes every span of up to twelve words, and scores each span against each type. A type the model has never seen in training still works, as long as its name means something.

Three models, measured on the same tests

We ran each model on three public benchmarks with exact-span scoring: a prediction counts only if its boundaries and its type both match the annotation.

BenchmarkWhat it testsFast (173 MB)Balanced (303 MB)Most accurate (580 MB)
CoNLL-2003, 400 sentencesPeople, organisations, places in English newsF1 0.650.640.63
WikiANN, 8 languages × 250 sentencesThe same three types in en, tr, de, es, fr, ru, ar, zh0.470.440.55
CrossNER, 5 domains × 150 sentencesUnusual types: algorithms, music genres, political parties, scientists…0.340.510.65

Two things stand out. For everyday types all three models are close, so the fast one is enough for names, companies and places. For specialised types the bigger models pull clearly ahead, which is what the Balanced default is for. WikiANN scores look low partly because its annotations include case endings: in Turkish, “Club Brugge’de” is the gold span, so a model that marks “Club Brugge” counts as wrong. Counting overlapping spans as matches, the most accurate model scores 0.80 in Turkish and 0.71 on average.

Personal data: model plus patterns

Personal data is a mix of things a model has to understand (a name, an address written in prose, a date of birth) and identifiers with a fixed format. The Personal data preset combines both:

  • Model types: person, street address, date of birth, passport or ID number, bank account number, username, money.
  • Exact patterns: email addresses, phone numbers in international and grouped national formats, IBANs with the mod-97 check, card numbers with the Luhn check, IPv4 and IPv6 addresses, URLs.

We tested the type names before choosing them. “Passport or id number” caught a passport number with 79% confidence where “id number” gave 57% and “document number” 48%, so small wording changes matter, and the preset uses the wording that worked best.

A redacted copy you can actually read

Black bars make a document unreadable; tags keep it useful. The Redacted copy tab offers three styles:

StyleExampleBest for
Numbered tags[PERSON_1] met [PERSON_2]; [PERSON_1] paidSharing a document while keeping who-did-what
Type tags[PERSON] met [PERSON]Training data, minimal information
Black bars████ met ████Printing, screenshots

Only the types visible in the legend are replaced, so you can, for example, keep company names and remove people. The model works in your browser, so a contract or a medical note never leaves your computer while it is being anonymised.

Practical limits

Recognition is probabilistic. A name the model has never seen in a lower-case chat message, an unusual abbreviation or a type with a vague name can be missed or mislabelled; lowering the minimum confidence shows more candidates. Coreference is not resolved: “Haddad” and “Amira Haddad” are two list entries, although the same text under the same type is grouped. For redaction that matters legally, use the tool to do the bulk of the work and read the result once.

Last updated v2.0: what changed Built and maintained by Necmeddin Cunedioglu How tools are tested

How to Use This Tool

  1. 1

    Paste or open a text

    Paste an article, email, contract or chat log, or open a .txt, .docx or .pdf file.

  2. 2

    Choose entity types

    Pick a preset (General, Personal data, News, Business, Medical, Legal, Software, Social media) or type your own types, such as "medication" or "invoice number". Add exact patterns for emails, phones, IBANs, card numbers, IP addresses or URLs.

  3. 3

    Extract

    The model downloads once (173, 303 or 580 MB) and runs on your device. Move the confidence slider to see more or fewer entities without running again.

  4. 4

    Use the results

    Read the highlighted text, sort the de-duplicated entity list, download CSV or JSON with character offsets, or copy a redacted version with [PERSON_1]-style tags.

How helpful was this tool?

Click to rate

Key Concepts

Named entity recognition (NER)

Finding the spans of a text that name things (people, organisations, places, products, dates, amounts) and labelling each with its type.

Zero-shot NER

NER for types the model was not specifically trained on: the type names are part of the input, so you can ask for new ones without training.

GLiNER

Generalist and Lightweight model for NER (Zaratiana et al., 2024): a bidirectional encoder that scores every span of up to 12 words against every type you list.

Luhn check

The checksum every payment card number satisfies; it rejects about nine in ten random digit strings, which keeps order and tracking numbers out of the results.

Redaction

Replacing sensitive spans with placeholders before a text is shared. Numbered tags keep the text readable: the same person stays [PERSON_1] throughout.

Frequently Asked Questions

Which entity types can it find?

Any type you can name in a few words. The extractor runs GLiNER, a model that reads your list of types together with the text and marks every span that fits one of them, so "person" and "location" work, and so do "medication", "ship name", "case number" or "ingredient". Short English phrases work best as type names, even when the text is in another language. Up to 25 types at once.

How accurate is it?

We measured all three models on public test sets with exact-span scoring (a match counts only when both the boundaries and the type are right). On CoNLL-2003 English news (person, organisation, location) all three score F1 0.63 to 0.65. On WikiANN in eight languages the most accurate model averages 0.55 (0.71 when overlapping spans count), the balanced one 0.44. On CrossNER, which asks for unusual types such as "algorithm", "music genre" or "political party", the most accurate model scores 0.65, the balanced one 0.51 and the fast one 0.34. Pick the model by how unusual your types are.

Can I use it to redact personal data?

Yes. Choose the Personal data preset: the model finds names, addresses, dates of birth, ID and passport numbers and usernames, and exact patterns catch emails, phone numbers, IBANs (with the mod-97 check), card numbers (with the Luhn check), IP addresses and URLs. The Redacted copy tab replaces them with numbered tags, type tags or black bars. A model can miss a name, so read a redacted document once before sharing it.

Which languages are supported?

The Fast and Balanced models (GLiNER-X, on mT5) were trained on 20 languages including English, German, French, Spanish, Italian, Portuguese, Dutch, Polish, Czech, Ukrainian, Arabic, Hindi and Chinese, and in our tests also handle Turkish. The most accurate model (GLiNER multi v2.1) is built on mDeBERTa-v3, which covers about 100 languages. Chinese, Japanese and Thai text is split into words with the browser's own word segmenter first.

Is my text uploaded?

No. The model files are downloaded once from Hugging Face and stored in your browser; the text is processed on your device and never sent anywhere, which is what you want for contracts, medical notes or customer data.

What should I write as entity types?

Short, ordinary English phrases, the way you would describe the thing to a colleague: "medication", "flight number", "street address", "programming language". Avoid abbreviations such as "PER" or "LOC" and internal jargon the model cannot know. If two types compete for the same spans, make them more distinct or keep only one. Adding the type a span really belongs to also stops false positives: with "money" in the list, an amount is no longer forced into "bank account number".

Why are some entities found by pattern instead of by the model?

Because some identifiers have a shape that can be checked exactly. An email address always has an @ and a domain, an IBAN has a country code, check digits and a fixed length that must pass the mod-97 test, and a card number must pass the Luhn checksum. Rules find these with no misses and no guessing, while the model handles everything that needs understanding, such as whether "Apple" is a company or a fruit. Where both mark the same span, the exact pattern wins.

Can I extract entities from a PDF or Word file?

Yes. Open a .pdf, .docx or .txt file and its text is read in the browser. Scanned PDFs have no text layer; run them through OCR first. Very long documents are processed in sentence-aligned parts, with a progress bar and a Stop button.

Changelog

  1. v2.0

    • Any entity type: GLiNER zero-shot models (three sizes, 20+ languages) replace the English-only BERT model that knew four fixed types.
    • Presets for general, personal data, news, business, medical, legal, software and social-media text, plus your own types.
    • Exact detection of emails, phone numbers, URLs, IP addresses, hashtags and mentions, IBANs (mod-97) and card numbers (Luhn).
    • Confidence slider that filters instantly, nested entities, a de-duplicated entity list, CSV and JSON exports with character offsets.
    • Redacted copy with numbered tags, type tags or black bars.
    • Long documents are read in sentence-aligned parts with a progress bar and a Stop button; .docx and .pdf files open directly.
    • Fixed: the old page ran the model twice per request and inserted the analysed text into the page as HTML; everything is now shown as plain text.
    • First release: English named entity recognition (person, organisation, location, miscellaneous) with BERT in a Web Worker.

Troubleshooting & Technical Tips

A clear name was missed

Lower the minimum confidence, or switch to the Most accurate model. Lower-case or unusual names are harder; so are types the model has rarely seen, so try a more common wording ("company" instead of "vendor").

Something was given the wrong type

Add the type it really is to the list: "€120" is called a bank account number only when no better type is offered, and is labelled money once "money" is in the list.

A long document is slow

Without a graphics card the balanced model reads roughly 30 words per second on a laptop. Use the Fast model, or run long documents on a computer with a GPU, where the Most accurate model runs on WebGPU.

An email address or card number is not found

Exact patterns are separate from the AI types: add them with "+ Exact pattern". Card numbers must pass the Luhn check and IBANs the mod-97 check, so a mistyped number is skipped on purpose.

Related Guides

Related Tools

Embed this tool on your site

Paste this snippet into any HTML page or blog post to embed a live, fully working copy of AI Entity Extractor (NER). Free for any use.