Entity Extractor
List the people, organisations, places, products and other named entities in text or HTML, with counts, using spaCy.
#about
Lists the named entities in text or HTML with how often each appears.
Extraction uses spaCy's English models, from en_core_web_sm (fastest) to en_core_web_lg (most accurate), each installed separately, across 11 name-like types such as PERSON, ORG, GPE and PRODUCT; dates, money and quantities are left out.
HTML cleaning strips lists and tables, so their content is not analysed.
Streamlit app
- Platform
- Browser-based (no installation required)
- Input
- Text, HTML, or CSV/Excel for batch
- Output
- Text mode: CSV (extracted_entities.csv) with Entity, Label, Count. Batch mode: entities_by_source.csv (Source, Entity, Label, one row per occurrence) and entity_counts.csv (Entity, Label, Count).
- Category
- Content
Use cases
- Optimising content for semantic search and Knowledge Graph
- Listing the people, organisations, places and products a page mentions
- Building comprehensive topic coverage
- Comparing entity counts across a batch of pages
#features
- spaCy NLP with 3 model sizes (en_core_web_sm/md/lg)
- 11 entity types recognised (PERSON, ORG, GPE, LOC, PRODUCT, etc.)
- HTML cleaning strips scripts, styles, nav, header, footer, lists and tables
- Batch processing via CSV/Excel upload with optional ID column
- Text truncation limit (100k chars) for memory efficiency
#how-to-use
- Select spaCy model size based on speed vs accuracy needs
- Paste text/HTML or upload CSV/Excel for batch processing
- Select entity types to extract (filter by PERSON, ORG, etc.)
- Run extraction and review entities grouped by type
- Download full results CSV or aggregated entity counts
#faq
- Why are entities from my bullet lists and tables missing?
- When you feed it HTML, the cleaning step removes not just scripts, styles, nav, header and footer but also all ol, ul and table elements, so anything that only appears in a bulleted list or a table never reaches the extractor. If your entities live in list or table content (spec sheets, feature lists), paste the text as plain text instead of HTML.
- Do I need to install anything besides spaCy?
- Yes, the language model itself. Each of the three selectable models must be downloaded separately with python -m spacy download en_core_web_sm (or _md / _lg); the app stops with an error if the selected model is not installed. All three are English models, so non-English content will extract poorly.
- Can it extract dates, prices or quantities?
- No. DATE, TIME, PERCENT, MONEY, QUANTITY, ORDINAL and CARDINAL are deliberately excluded from the selectable entity types, leaving the 11 name-like types (PERSON, ORG, GPE, LOC, PRODUCT, EVENT, WORK_OF_ART, LAW, LANGUAGE, NORP, FAC).
- Is there a size limit per document?
- Each text is truncated to 100,000 characters before processing to keep memory in check, so entities beyond that point in very long pages are not counted. There is no limit on the number of rows in a batch file, but rows are processed one at a time.
- What do the two batch downloads contain?
- The full results file has one row per entity occurrence with its source identifier (the ID column you chose, such as the URL), useful for per-page analysis. The entity counts file aggregates across all sources. The on-screen top entities table is capped at 50 rows, but the downloads are complete.
/contact
Want me to run this for you? I run this tool as a managed service, or build something custom around your data. You get the insights without touching the code.