label-studio README

The project's README from github.com/HumanSignal/label-studio. As one markdown file: README.md.

GitHub label-studio:build GitHub release

Website • Docs • Join Slack Community

What is Label Studio?

Label Studio is an open source data labeling tool. It lets you label data types like audio, text, images, videos, and time series with a simple and straightforward UI and export to various model formats. It can be used to prepare raw data or improve existing training data to get more accurate ML models.

Gif of Label Studio annotating different types of data

Have a custom dataset? You can customize Label Studio to fit your needs. Read an introductory blog post to learn more.

Try out Label Studio

Install Label Studio locally or deploy it in a cloud instance. Or sign up for a free trial of our Starter Cloud edition! You can learn more about what each edition offers here.

Install locally with Docker

Official Label Studio docker image is here and it can be downloaded with docker pull. Run Label Studio in a Docker container and access it at http://localhost:8080.

docker pull heartexlabs/label-studio:latest
docker run -it -p 8080:8080 -v $(pwd)/mydata:/label-studio/data heartexlabs/label-studio:latest

You can find all the generated assets, including SQLite3 database storage label_studio.sqlite3 and uploaded files, in the ./mydata directory.

Override default Docker install

You can override the default launch command by appending the new arguments:

docker run -it -p 8080:8080 -v $(pwd)/mydata:/label-studio/data heartexlabs/label-studio:latest label-studio --log-level DEBUG

Build a local image with Docker

If you want to build a local image, run:

docker build -t heartexlabs/label-studio:latest .

Run with Docker Compose

Docker Compose script provides production-ready stack consisting of the following components:

To start using the app from http://localhost run this command:

docker-compose up

Run with Docker Compose + MinIO

You can also run it with an additional MinIO server for local S3 storage. This is particularly useful when you want to test the behavior with S3 storage on your local system. To start Label Studio in this way, you need to run the following command:

# Add sudo on Linux if you are not a member of the docker group
docker compose -f docker-compose.yml -f docker-compose.minio.yml up -d

If you do not have a static IP address, you must create an entry in your hosts file so that both Label Studio and your browser can access the MinIO server. For more detailed instructions, please refer to our guide on storing data.

Install locally with pip

# Requires Python >=3.10
pip install label-studio

# Start the server at http://localhost:8080
label-studio

Install locally with poetry

### install poetry
pip install poetry

### set poetry environment
poetry new my-label-studio
cd my-label-studio
poetry add label-studio

### activate poetry environment
poetry shell

### Start the server at http://localhost:8080
label-studio

Install locally with Anaconda

conda create --name label-studio
conda activate label-studio
conda install psycopg2
pip install label-studio

Install for local development

You can run the latest Label Studio version locally without installing the package from pypi.

# Install all package dependencies
pip install poetry
poetry install
# Run database migrations
python label_studio/manage.py migrate
python label_studio/manage.py collectstatic
# Start the server in development mode at http://localhost:8080
python label_studio/manage.py runserver

Deploy in a cloud instance

You can deploy Label Studio with one click in Heroku, Microsoft Azure, or Google Cloud Platform:

Deploy

Apply frontend changes

For information about updating the frontend, see label-studio/web/README.md.

Install dependencies on Windows

To run Label Studio on Windows, download and install the following wheel packages from Gohlke builds to ensure you're using the correct version of Python:

# Upgrade pip 
pip install -U pip

# If you're running Win64 with Python 3.8, install the packages downloaded from Gohlke:
pip install lxml‑4.5.0‑cp38‑cp38‑win_amd64.whl

# Install label studio
pip install label-studio

Run test suite

To add the tests' dependencies to your local install:

poetry install --with test

Alternatively, it is possible to run the unit tests from a Docker container in which the test dependencies are installed:

make build-testing-image
make docker-testing-shell

In either case, to run the unit tests:

cd label_studio

# sqlite3
DJANGO_DB=sqlite DJANGO_SETTINGS_MODULE=core.settings.label_studio pytest -vv

# postgres (assumes default postgres user,db,pass. Will not work in Docker
# testing container without additional configuration)
DJANGO_DB=default DJANGO_SETTINGS_MODULE=core.settings.label_studio pytest -vv

What you get from Label Studio

https://github.com/user-attachments/assets/525ad5ff-6904-4398-b507-7e8954268d69

Included templates for labeling data in Label Studio

Label Studio includes a variety of templates to help you label your data, or you can create your own using specifically designed configuration language. The most common templates and use cases for labeling include the following cases:

Set up machine learning models with Label Studio

Connect your favorite machine learning model using the Label Studio Machine Learning SDK. Follow these steps:

  1. Start your own machine learning backend server. See more detailed instructions.
  2. Connect Label Studio to the server on the model page found in project settings.

This lets you:

Integrate Label Studio with your existing tools

You can use Label Studio as an independent part of your machine learning workflow or integrate the frontend or backend into your existing tools.

Ecosystem

Project Description
label-studio Server, distributed as a pip package
Frontend library The Label Studio frontend library. This uses React to build the UI and mobx-state-tree for state management.
Data Manager library A library for the Data Manager, our data exploration tool.
label-studio-converter Encode labels in the format of your favorite machine learning library
label-studio-transformers Transformers library connected and configured for use with Label Studio

Citation

Include a citation for Label Studio in the References section of your articles:

@misc{Label Studio,
  title={{Label Studio}: Data labeling software},
  url={https://github.com/HumanSignal/label-studio},
  note={Open source software available from https://github.com/HumanSignal/label-studio},
  author={
    Maxim Tkachenko and
    Mikhail Malyuk and
    Andrey Holmanyuk and
    Nikolai Liubimov},
  year={2020-2025},
}

License

This software is licensed under the Apache 2.0 LICENSE © Heartex. 2020-2025

label-studio (HumanSignal/label-studio)

Searching Database…

What is this?Label Studio is an open source data labeling and annotation tool: you label audio, text, images, videos, and time series in a browser UI and export the results in formats ready for ML training.
Is it a hosted service I sign up for, or something I run myself?It's a self-hosted web app: you install it locally or on a server and use it through a browser. HumanSignal also runs a hosted Starter Cloud edition with a free trial.
What's the quickest way to get it running?Fastest is Docker: docker pull the official image, run the container, and open Label Studio in the browser. Plain pip, poetry, and Anaconda installs work too.
Do I need Python installed first?Docker needs nothing but Docker itself. The pip, poetry, and Anaconda routes need Python - and on Windows you must also install the lxml wheel from Gohlke builds to match your Python version.
Is the default single-container setup good enough for production?No - it runs on SQLite3, which the README itself calls less performant. For production it recommends the Docker Compose stack: Label Studio with an Nginx proxy and PostgreSQL.
Do people use it to build training datasets from scratch or to fix existing ones?Both: it's built for preparing raw data or improving existing training data to get more accurate ML models, whether you label alone or with a team.
My annotators aren't technical - what do they have to install?Nothing - it's a browser app. Once the server is up, annotators just sign up and log in, and each annotation is tied to their account.
Can I deploy it to a cloud server instead of my own machine?Yes - the README documents one-click deployment to Heroku, Microsoft Azure, and Google Cloud Platform.
If I self-host it, does any of my data leave my machine?It stays where you host it: generated assets, the SQLite database, and uploaded files live in a local ./mydata directory. Imports from Amazon S3 or Google Cloud Storage are opt-in connections.
Can I use it commercially for free, or is there a paid tier?The core is Apache 2.0 licensed (c) Heartex, so self-hosting for commercial work is fine. HumanSignal sells paid cloud editions around the open-source core.
What kinds of data can it label?Images, audio, text, HTML, video, and time series. Label Studio ships with templates for common labeling tasks, and you can design custom interfaces with its configuration language.
Can my model pre-label data to speed humans up?Yes - connect it through the Label Studio Machine Learning SDK: start your ML backend server and link it in project settings. You get model predictions as pre-labels, online retraining while annotations arrive, and active learning that focuses on the hardest examples.
What formats does it import and export?Imports: local files or cloud storage from Amazon S3 and Google Cloud Storage, including JSON, CSV, TSV, RAR, and ZIP archives. Exports: various model formats, and the label-studio-converter package encodes labels for your ML library.
Size
2.8 GB
Stars
28.5K
Age
7y
Commits · 90 Days