---
title: Workers AI Markdown Conversion: New endpoint to list supported formats
description: You can now programmatically get a list of all supported file formats that can be converted by our Markdown Conversion utility.
image: https://edgetunnel-b2h.pages.dev/changelog-preview.png
---

> Documentation Index  
> Fetch the complete documentation index at: https://edgetunnel-b2h.pages.dev/changelog/llms.txt  
> Use this file to discover all available pages before exploring further. 

[Skip to content](#%5Ftop) 

# Changelog

New updates and improvements at Cloudflare.

[ Subscribe to RSS ](https://edgetunnel-b2h.pages.dev/changelog/rss/index.xml) [ View RSS feeds ](https://edgetunnel-b2h.pages.dev/fundamentals/new-features/available-rss-feeds/) 

![hero image](https://edgetunnel-b2h.pages.dev/_astro/hero.CVYJHPAd_26AMqX.svg) 

[ ← Back to all posts ](https://edgetunnel-b2h.pages.dev/changelog/) 

## Workers AI Markdown Conversion: New endpoint to list supported formats

Oct 23, 2025 

[ Workers AI ](https://edgetunnel-b2h.pages.dev/workers-ai/) 

Developers can now programmatically retrieve a list of all file formats supported by the [Markdown Conversion utility](https://edgetunnel-b2h.pages.dev/workers-ai/features/markdown-conversion/) in Workers AI.

You can use the [env.AI](https://edgetunnel-b2h.pages.dev/workers-ai/configuration/bindings/) binding:

**TypeScript**

```typescript
await env.AI.toMarkdown().supported()
```

Or call the REST API:

```bash
curl https://api.cloudflare.com/client/v4/accounts/{ACCOUNT_ID}/ai/tomarkdown/supported \
  -H 'Authorization: Bearer {API_TOKEN}'
```

Both return a list of file formats that users can convert into Markdown:

```json
[
  {
    "extension": ".pdf",
    "mimeType": "application/pdf",
  },
  {
    "extension": ".jpeg",
    "mimeType": "image/jpeg",
  },
  ...
]
```

Learn more about our [Markdown Conversion utility](https://edgetunnel-b2h.pages.dev/workers-ai/features/markdown-conversion/).

```json
{"@context":"https://schema.org","@type":"BlogPosting","@id":"https://edgetunnel-b2h.pages.dev/changelog/post/2025-10-23-new-markdown-conversion-endpoint/#page","headline":"Workers AI Markdown Conversion: New endpoint to list supported formats · Changelog","description":"You can now programmatically get a list of all supported file formats that can be converted by our Markdown Conversion utility.","url":"https://edgetunnel-b2h.pages.dev/changelog/post/2025-10-23-new-markdown-conversion-endpoint/","inLanguage":"en","image":"https://edgetunnel-b2h.pages.dev/changelog-preview.png","dateModified":"2025-10-23","datePublished":"2025-10-23","publisher":{"@type":"Organization","name":"Cloudflare","url":"https://www.cloudflare.com/"},"isPartOf":{"@type":"WebSite","@id":"https://edgetunnel-b2h.pages.dev/#website","name":"Cloudflare Docs","url":"https://edgetunnel-b2h.pages.dev/"}}
```
