---
title: "Parsers for your API spec · Kubb"
description: "Parsers print the code Kubb plugins generate as TypeScript or Markdown files."
canonical_url: "https://kubb.dev/extensions/kind/parsers"
meta:
  author: "Stijn Van Hulle"
  keywords: "kubb, openapi to typescript, openapi code generator, swagger to typescript, typescript api client, zod, tanstack query, react query, msw, code generation, type safety"
  "og:description": "Parsers print the code Kubb plugins generate as TypeScript or Markdown files."
  "og:image": "https://kubb.dev/_og/s/o_b6345a576b9d3c73.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Parsers for your API spec · Kubb"
  "twitter:image": "https://kubb.dev/_og/s/o_b6345a576b9d3c73.png"
---

> Index of every page on this site: [llms.txt](https://kubb.dev/llms.txt)

**Extensions**

# **Parsers**

Parsers print the code Kubb plugins generate as TypeScript or Markdown files.

2 extensions · updated Nov 2, 2026

Filtered by

[![TypeScript logo](https://kubb.dev/feature/typescript.svg)`parsers: [parserTs()]`<h2>**TypeScript**</h2>Official@kubb/parser-ts · v5.15.2UpdatedOct 29 Prints the Kubb AST as TypeScript source and rewrites the extensions of relative imports and exports.typescripttsxparserStijn Van Hulle 424.3K 1.8K](https://kubb.dev/extensions/kubb-labs/parser-ts) [![Markdown logo](https://kubb.dev/feature/markdown.svg)`parsers: [parserMd()]`<h2>**Markdown**</h2>Official@kubb/parser-md · v5.15.2UpdatedOct 29 Writes .md and .markdown files from the Kubb AST, with YAML frontmatter from a file's meta.markdownfrontmatterparserStijn Van Hulle 240.9K 1.8K](https://kubb.dev/extensions/kubb-labs/parser-md) [`@your/extension`<h2>**Bring your own**</h2>Write a plugin, adapter or parser in TypeScript, ship a kubb-extension.json, and submit it to the registry.](https://kubb.dev/docs/5.x/tutorials/creating-plugins)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://kubb.dev/#website","@type":"WebSite","description":"Kubb is an open source code generator that turns an API spec into TypeScript types, API clients, TanStack Query hooks, Zod schemas and mocks.","name":"Kubb","url":"https://kubb.dev/","publisher":{"@id":"https://kubb.dev/#identity"}},{"@id":"https://kubb.dev/extensions/kind/parsers#webpage","@type":"WebPage","description":"Parsers print the code Kubb plugins generate as TypeScript or Markdown files.","name":"Parsers for your API spec · Kubb","url":"https://kubb.dev/extensions/kind/parsers","isPartOf":{"@id":"https://kubb.dev/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://kubb.dev/extensions/kind/parsers"]}],"primaryImageOfPage":{"@id":"https://kubb.dev/#logo"}},{"@id":"https://kubb.dev/#identity","@type":"Organization","description":"Kubb is an open source code generator. It turns an API spec, such as OpenAPI, into TypeScript types, API clients, TanStack Query hooks, Zod schemas and mocks.","email":"kubb@kubb.dev","name":"Kubb","url":"https://kubb.dev","founder":{"@id":"https://kubb.dev/#founder"},"logo":{"@id":"https://kubb.dev/#logo"},"sameAs":["https://github.com/kubb-labs/kubb","https://discord.gg/shfBFeczrm","https://www.linkedin.com/company/kubb-labs"]},{"@id":"https://kubb.dev/#logo","@type":"ImageObject","caption":"Kubb","contentUrl":"https://kubb.dev/logo.png","inLanguage":"en","url":"https://kubb.dev/logo.png"}]}
```

## Sitemap

See the full [sitemap](https://kubb.dev/sitemap.md) for all pages.
