Sefism is free for learners. We are here to help you grow, one step at a time.Join for free
Sefism.
Guide · AI & Machine LearningFree

spaCy Documentation

The official docs for spaCy, the open-source Python library for production NLP: tokenisation, part-of-speech tagging, dependency parsing, named entity recognition, text classification and transformer-based pipelines, plus a free interactive course. Built for processing large volumes of text quickly.

GitHub stars

33.9k (spaCy)

GitHub · Sept 2026

Latest release

v3.8.16 (August 2026)

GitHub · Sept 2026

Languages

75+ supported

spacy.io · Sept 2026

Trained pipelines

84 in 25 languages

spacy.io · Sept 2026

License

MIT

GitHub · Sept 2026

Format

Guide

Topic

AI & Machine Learning

Provider

Explosion

Time needed

A weekend for the free course, then reference

Level

Intermediate

Access

Free

What spaCy is

spaCy describes itself as industrial-strength natural language processing in Python. It has been developed since 2015 by Explosion, is open source under the MIT licence, and its site lists support for more than 75 languages with 84 trained pipelines across 25 of them. These docs cover installation, the usage guides, the API reference, the model catalogue and project templates.

What it does

spaCy processes text through a pipeline: tokenisation, part-of-speech tagging, dependency parsing, lemmatisation, sentence segmentation, named entity recognition, entity linking and text classification. Pipelines can use fast CNN-based components or transformer-based ones, and you can train components on your own labelled data using config files.

Is it worth your time?

Yes, for practical NLP. When you need to process thousands of documents quickly, pull out names, dates and amounts, split sentences reliably or build rule-based matchers alongside a model, spaCy is often the most productive tool. It also complements Hugging Face: many teams fine-tune a transformer and run it inside a spaCy pipeline, or use spaCy for tokenisation and rules around an LLM.

Where to start

  1. The free interactive course, Advanced NLP with spaCy, at course.spacy.io, which has 55 exercises.
  2. spaCy 101 in the usage docs: the Doc, Token and Span objects and how pipelines work.
  3. Linguistic features: tokenisation, entities and the rule-based Matcher.
  4. Training pipelines, when you need custom entity types or text categories.

Prerequisites

Python basics. Some understanding of tokens, entities and classification helps, but the course explains them.

Free and paid

The library, models, docs and course are free. Explosion separately sells Prodigy, an annotation tool, and offers custom pipeline services; you do not need either to use spaCy.

Common questions

spaCy or Hugging Face Transformers? They solve different problems. spaCy is a fast, complete text processing pipeline; Transformers gives you pretrained models to fine-tune. Many projects use both.

Does it support Urdu? Check the language support page for your language: tokenisation support and trained pipelines vary by language.

Best for: developers who need reliable, fast NLP pipelines for real volumes of text.

machine learningpythonopen source

Ready to start?

Opens on Explosion in a new tab.

Open resource
Link broken or out of date?

Report a problem

With "spaCy Documentation". Only Tauseef reads this.

Work with me

Stuck on something specific?

Writing only gets you so far. If you want an answer to your situation rather than the general case, book a session and we will work through it together. Sessions are free for approved Sefism members, and a few slots open each week.