Skip to content
whichdevtool?
Categories ▾

Frameworks and UI

Frontend and full-stack frameworks Backend frameworks UI component libraries

Hosting

VPS and cloud servers App hosting and PaaS

Data

Managed databases File and object storage ORMs and database toolkits

AI

AI model APIs

Email

Transactional email APIs Email marketing and newsletters

Payments

Payments and billing

Domains and edge

Domain registrars CDN, DNS and edge security

Operations and identity

Monitoring, uptime and error tracking Auth and identity Background jobs, queues and workflows
Stacks Directory
Ctrl K

Search directory
Menu
StacksDirectory Pricing changes Glossary
VPS and cloud servers App hosting and PaaS Managed databases Transactional email APIs Email marketing and newsletters Domain registrars CDN, DNS and edge security Monitoring, uptime and error tracking Auth and identity Frontend and full-stack frameworks Backend frameworks UI component libraries AI model APIs File and object storage Payments and billing Background jobs, queues and workflows ORMs and database toolkits
  1. Home
  2. Backend frameworks
  3. Flask

Python micro web framework · by Pallets

Flask

A lightweight Python WSGI micro-framework built on Werkzeug and Jinja that stays out of your way, with community extensions for databases, auth and forms.

Visit flask.palletsprojects.com ↗ Alternatives Open source Open source Self-hostable
flask.palletsprojects.com
Flask homepage
§1

Overview

Flask is a lightweight WSGI web application framework designed to make getting started quick while allowing apps to grow. It began as a small wrapper around the Werkzeug WSGI toolkit and the Jinja template engine, uses Click for its command line, and has become one of the most popular Python web frameworks since its first release in 2010.

Flask suggests but does not enforce dependencies or project layout. Blueprints split larger apps into modules, the application factory pattern supports configuration per environment, and the docs include patterns for SQLAlchemy, WTForms, file uploads, caching and background tasks with Celery.

The Pallets organisation, a community group of maintainers, develops Flask together with the libraries it uses, including Werkzeug, Jinja and Click. Flask supports async views, but it remains a WSGI framework; its documentation has a section on when to use Quart, Pallets' ASGI counterpart, instead.

Because Flask is minimal, production apps rely on community-maintained extensions for databases, login and migrations, whose quality and maintenance vary.

§2

Pricing and plans

Free and open source under the BSD 3-Clause licence. No paid edition; Pallets accepts donations.

Source: flask.palletsprojects.com/en/stable/ · prices as published, excluding tax.

§3

What it does

Routing and views
Decorator-based routes plus class-based views for APIs.
Jinja templates
Server-side templating with autoescaping and template inheritance.
Blueprints
Split an application into reusable, registrable modules.
CLI and dev server
flask run, a shell and custom commands through Click.
Test client
Built-in client for sending requests in tests.
Extensions
Community extensions add ORM, auth, forms, migrations and more.
§4

Strengths and limitations

Strengths

  • Small, easy to learn core
  • No enforced structure or dependencies
  • Mature, stable and well documented
  • Large set of community extensions and tutorials

Limitations

  • No built-in ORM, auth, admin or validation; you choose extensions
  • A WSGI framework: the docs point to Quart when you need a fully async (ASGI) app
  • Extension quality and maintenance vary because most are community projects
  • Large apps need your own conventions to stay organised
§5

Who it suits

Good for

  • Prototypes and small web apps
  • Simple APIs and internal tools
  • Learning Python web development

Look elsewhere if

  • Teams wanting admin, ORM and auth built in (see Django)
  • High-concurrency async APIs (see FastAPI or Litestar)
§6

Alternatives to Flask

Tool From Free option Stages
Li
Litestar Python ASGI API framework
— Open source
ASP.NET Core .NET web framework
— Open source
Phoenix Elixir web framework
— Open source
Fastify High-performance Node.js web framework
— Open source
Gin Go HTTP web framework
— Open source
En
Encore Backend framework with infrastructure from code
$49/mo Free tier

All backend frameworks →

§7

Questions

Is Flask still maintained?

Yes, by the Pallets organisation, which also maintains Werkzeug, Jinja and Click.

Flask or Django?

Flask is minimal and lets you pick libraries; Django bundles ORM, admin and auth.

Does Flask support async?

It supports async views, but it is a WSGI framework; the docs suggest Quart for fully async apps.

Is Flask free for commercial use?

Yes. It is BSD 3-Clause licensed.

Sources read for this page

  • https://flask.palletsprojects.com/en/stable/
  • https://github.com/pallets/flask
Spec sheet
From
Open source
Free tier
Free to self-host
Stages
HobbyIndieStartupScale-upEnterprise Suits hobby, indie, startup, scale-up
Language
Python
Style
Minimal (micro-framework)
Runs on
Python (WSGI)
Maintained by
Pallets community organisation
Open source
Yes
Self-host
Yes
EU data
Not stated
Category
Backend
Visit flask.palletsprojects.com ↗

To report an out-of-date price or limit, use the correction form.

whichdevtool?

Developer and cloud tools compared on price, free tier and limits, each with its source. For side projects, solo developers and small teams.

Categories

  • VPS and cloud servers
  • App hosting and PaaS
  • Managed databases
  • Transactional email APIs
  • Email marketing and newsletters
  • Domain registrars
  • CDN, DNS and edge security
  • Monitoring, uptime and error tracking
  • Auth and identity
  • Frontend and full-stack frameworks
  • Backend frameworks
  • UI component libraries
  • AI model APIs
  • File and object storage
  • Payments and billing
  • Background jobs, queues and workflows
  • ORMs and database toolkits

Research

  • Directory
  • Stacks by project
  • Developer news
  • Pricing changes
  • Glossary

Site

  • About and methods
  • How we make money
  • Suggest a tool or fix
  • Privacy
© 2026 whichdevtool.com Prices change. Each tool page links to its source. We may earn a commission when you sign up through links on this site. How we make money