Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

Apache Casbin

Free#1 of 25 in Authorization Software

Apache Casbin: Flexible policy enforcement for teams that need control across cloud and self-hosted deployments. Ranked #1 of 25 in Authorization Software by our editors (9.4/10); pricing: Free plan; best for broad, flexible authorization across deployment models.

9.4/10Editor score
Apache Casbin9.4 Visit Apache Casbin

At a glance

  • Editor score
    9.4 / 10
  • Pricing
    Free plan
  • Best for
    Broad, flexible authorization across deployment models
  • Free plan
    Yes
  • Paid from
    Free
  • Policy model
    Hybrid
  • Facts checked
    17 Nov 2026
  • Where it wins

    • Supports ACL, RBAC, ABAC, ReBAC and other policy patterns
    • Runs embedded or remotely through gRPC or HTTP
    • Includes adapters, watchers, logging and policy management APIs
  • Where it doesn't

    • Requires developers to define models, matchers and policies
    • Operational setup spans persistence, consistency and deployment choices
    • Support is centered on community resources and documentation

Our verdict on Apache Casbin

Apache Casbin is an open-source authorization library for applications that evaluate requests against developer-defined models and policies. It fits teams building authorization into web applications, APIs or self-hosted systems, from solo developers through enterprise engineering groups. Common request fields include subject, object and action, while supported patterns include ACL, RBAC, ABAC and relationship-based access control. Role hierarchies, domains and conditions extend the model for more structured authorization needs.

Its main advantage is range across application architecture. Casbin can run as an embedded library or as a separate Casbin Service over gRPC or HTTP, allowing teams to choose local decisions or a remote decision point. Management and RBAC APIs support runtime policy administration, adapters connect policy persistence to external storage, and watchers help keep policy state consistent across nodes. Request, model and policy logging add visibility, while the online browser editor provides syntax highlighting and code completion. Implementations are available for multiple programming languages, supporting varied application stacks.

Casbin is free and open source, with deployment options spanning cloud and self-hosted environments. That flexibility also places responsibility on the adopting team: developers must design models, matchers and policies, select persistence adapters, and decide how policy consistency and service boundaries should operate. Community support and documentation are the stated support channels. Choose Casbin when you want a configurable authorization foundation that can stay inside an application or move to a service; teams seeking a more managed experience may prefer a different authorization product.

Your product? Our editors can test Apache Casbin in depth and publish a review, labelled as paid · from $149/mo →

Apache Casbin pricing

Plans Free planFree Free to use — no paid tier required for the core job.
See plans on casbin.apache.org

Apache Casbin fact sheet

Free planYes
Paid fromFree
Policy modelHybrid
DeploymentHybrid
Decision modeBoth
Policy versioningNot verified
Audit logsYes
Included decisionsNot verified
DeploymentCloud, Self-hosted
PlatformsWeb
SupportCommunity, Docs
Built forSolo, Small business, Mid-market, Enterprise (editorial estimate)
PricingFree plan
Websitecasbin.apache.org
Facts checked17 Nov 2026

Alternatives to Apache Casbin

See all Apache Casbin alternatives →

Apache Casbin vs the competition

Compare Apache Casbin with any tool side by side →

Used Apache Casbin? Be the first to review it

The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used Apache Casbin for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.

Write a reviewTwo minutes · verified accounts only · read by an editor before it appears

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — Apache Casbin 9.4/10

Apache Casbin is listed in our Authorization Software directory. Add the badge to your site — it links back to this page.

<a href="https://www.itechguides.com/products/apache-casbin/"><img src="https://www.itechguides.com/best/badge/apache-casbin.svg" alt="Featured on iTechGuides" width="230" height="46"></a>

Reviewed by iTechGuides Editors · Editorial team · Updated Nov 2026

Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.

Last updated · How we research and update