SpecificationsOpen Source✦ Free Tier

Fern

OpenAPI in, idiomatic SDKs and API docs out

3,000 stars● Health 75ActiveDev Productivity

About

Takes an OpenAPI spec and generates hand-crafted-quality SDKs across TypeScript, Python, Go, Java, Ruby, C#, and PHP, plus integrated documentation sites. SDKs and docs stay in sync from a single source of truth. Used by Cohere, ElevenLabs, and Merge.

Choose Fern when…

  • You want type-safe SDKs and docs from your API spec
  • You need SDKs in TypeScript, Python, Go, and more
  • You want a Stripe-quality SDK without the manual work

Builder Slot

How do you define what you're building?Optional for most stacks

Spec writing, API design, architecture diagrams, and contract-first tooling — the upstream layer before code is written

Dev Tools
Optional
App Infra
Optional
Hybrid
Optional

Other tools in this slot:

Integrates with (4)

Swagger / OpenAPISpecifications

Fern reads OpenAPI/Swagger specs and generates idiomatic client SDKs and server stubs from them.

Client and server code generated from the API contract — spec drift between code and docs becomes structurally impossible.

Compare →
RedoclySpecifications

Fern reads OpenAPI specs managed and validated by Redocly, generating SDKs from a well-structured spec.

Clean SDK generation starting from a Redocly-validated spec — spec quality directly improves generated SDK quality.

Compare →
StoplightSpecifications

Fern reads OpenAPI specs from Stoplight, generating SDKs from specs that have been visually authored and validated.

Visual API design in Stoplight feeds directly into Fern's SDK generation pipeline — design once, generate everywhere.

Compare →
MintlifyDocumentation

Fern generates API reference docs and sends them to Mintlify for rendering as a polished public documentation site.

Beautiful API docs generated directly from Fern's SDK generation pipeline — code and docs generate together from the same spec.

Compare →

Alternatives to consider (3)

Pricing

✦ Free tier available
ManagedCustom

Badge

Add to your GitHub README

Fern on AIchitect[![Fern](https://aichitect.dev/badge/tool/fern)](https://aichitect.dev/tool/fern)

Explore the full AI landscape

See how Fern fits into the bigger picture — browse all 207 tools and their relationships.

Explore graph →