multi-task text annotation with project-scoped label schemas
Enables creation of annotation projects supporting text classification, sequence labeling (NER), and sequence-to-sequence tasks through a unified project management interface. Each project defines its own label taxonomy and annotation type, with the backend Django REST API enforcing schema validation and persisting annotations to SQLite or PostgreSQL. The Vue.js frontend renders task-specific annotation interfaces dynamically based on project configuration, allowing teams to switch between annotation paradigms within the same deployment.
Unique: Uses a project-scoped label schema pattern where each project's annotation type and labels are defined once at creation, enforced server-side via Django serializers, and rendered dynamically in Vue.js components — avoiding the complexity of runtime task switching while maintaining simplicity for single-task projects
vs alternatives: Simpler than Label Studio's complex conditional logic system but more focused on NLP tasks; lighter than Prodigy's ML-in-the-loop approach, making it better for teams prioritizing collaborative annotation over active learning
collaborative team annotation with role-based access control
Implements multi-user annotation workflows through Django's authentication system with role-based access control (RBAC) at the project level. Users are assigned roles (admin, annotator, viewer) with granular permissions enforced in the REST API layer before data access. The backend tracks annotation ownership, supports concurrent editing without locking, and maintains audit trails of who annotated what. The Vue.js frontend respects role permissions in the UI, hiding actions unavailable to the current user's role.
Unique: Uses Django's permission framework with project-level role assignment, where roles are enforced at the serializer level in REST endpoints — each API call checks user.has_perm() before returning data, ensuring no leakage of unauthorized annotations
vs alternatives: More lightweight than enterprise platforms like Labelbox (no custom role hierarchies) but more structured than Prodigy's single-user focus; better for teams needing basic RBAC without complex permission matrices
docker containerization with environment-based configuration
Provides Docker Compose configuration for single-command deployment of Doccano with all dependencies (Django backend, Vue.js frontend, PostgreSQL, Redis). Environment variables control database connection, secret keys, allowed hosts, and feature flags. The Dockerfile uses multi-stage builds to minimize image size. Supports both development (with hot-reload) and production (with gunicorn) configurations. Pre-built images are published to Docker Hub, eliminating build time.
Unique: Uses Docker Compose with environment variable substitution for configuration, multi-stage Dockerfile for minimal image size, and pre-built images on Docker Hub — deployment is one command (docker-compose up) with no build step required
vs alternatives: More convenient than manual installation but less flexible than Kubernetes manifests; better for teams wanting quick deployment without container orchestration expertise
project cloning and template reuse for rapid project setup
Allows administrators to clone existing projects (including label schema, annotation guidelines, and UI configuration) to create new projects without manual reconfiguration. Cloning copies project metadata but not annotations, enabling rapid setup of similar projects. Supports exporting project configuration as a template file and importing it into other Doccano instances. Templates are JSON files containing label definitions, UI settings, and guidelines.
Unique: Implements project cloning via Django model copying with selective field inclusion (labels, UI config, guidelines) but exclusion of annotations, and template export/import via JSON serialization — enables rapid project setup and cross-instance configuration sharing
vs alternatives: More convenient than manual reconfiguration but less sophisticated than Label Studio's workspace templates; better for teams with repetitive project structures
multi-language support with unicode text handling and rtl language rendering
Supports annotation in multiple languages including right-to-left (RTL) languages (Arabic, Hebrew, Persian) with proper Unicode text handling and bidirectional text rendering. The frontend uses CSS flexbox with direction properties to render RTL text correctly, while the backend stores all text as UTF-8 without language-specific processing. Language selection is per-project, affecting UI language and text rendering direction.
Unique: Implements bidirectional text rendering with CSS direction properties for RTL languages, enabling native annotation in Arabic, Hebrew, and Persian without manual text reversal. All text is stored as UTF-8, avoiding language-specific encoding issues.
vs alternatives: Provides native multilingual support with RTL rendering, whereas Label Studio requires custom CSS modifications for RTL languages and Prodigy has limited non-English support
asynchronous data import with format auto-detection and validation
Processes bulk data imports through a Celery task queue that handles CSV, JSON, JSONL, and other formats without blocking the web interface. The backend detects file format, validates against project schema (ensuring required text fields exist), and creates Example records in batches. Large imports are chunked to avoid memory exhaustion, with progress tracking via Celery task IDs. Failed rows are logged separately, allowing users to retry or inspect errors without re-importing successful records.
Unique: Uses Celery task queue with format auto-detection via file extension and content sniffing, combined with Django's bulk_create() for batch inserts — imports are tracked by task ID, allowing users to check progress and retrieve error logs without blocking the UI
vs alternatives: More scalable than synchronous imports in Prodigy but less sophisticated than Label Studio's streaming parser; better for teams with large datasets and limited patience for blocking uploads
structured data export with format conversion and filtering
Exports annotated datasets in multiple formats (JSON, JSONL, CSV, CoNLL for sequence labeling) through a Django REST endpoint that queries the database, applies user-specified filters (by label, annotator, status), and serializes annotations with metadata. Export jobs can be async for large datasets, returning a download URL. The serialization layer handles format-specific transformations: CoNLL format converts span annotations to BIO tags, CSV flattens nested structures, JSONL preserves full annotation objects.
Unique: Uses Django serializers with format-specific subclasses (CoNLLSerializer, CSVSerializer, JSONLSerializer) that transform the same underlying annotation data into task-specific formats — each serializer handles format rules (BIO tagging, flattening, etc.) without duplicating query logic
vs alternatives: More flexible than Prodigy's fixed export formats but less customizable than Label Studio's template-based exports; better for standard NLP formats (CoNLL, BIO) but requires custom code for proprietary formats
auto-labeling with external service integration and custom rest templates
Integrates with external ML services (OpenAI, Hugging Face, custom REST APIs) to pre-label examples before human annotation. Users configure auto-labeling via a template system that specifies request format, response parsing, and label mapping. The backend sends text to the external service, parses the response, and creates annotations programmatically. Supports both batch pre-labeling (all examples at once) and on-demand labeling (per-example). Failed requests are retried with exponential backoff; results are cached to avoid duplicate API calls.
Unique: Uses a template-based configuration system where users define request/response formats in the UI without code, with Jinja2 templating for dynamic field substitution and regex/JSONPath for response parsing — auto-labeling jobs are queued via Celery and results are cached by content hash to avoid duplicate API calls
vs alternatives: More flexible than Prodigy's hardcoded model integrations (supports any REST API) but less robust than Label Studio's plugin system (no type safety or validation); better for teams with custom models but requires careful template configuration
+5 more capabilities