LaunchKit · 2026
Back to Skills

file-to-markdown

Convert files into **clean, structured, AI-ready Markdown** using the `markdown.new` API powered by **Cloudflare.

0
362 downloads
by @alaminrifat

Setup & Installation

openclaw skills install @alaminrifat/file-to-markdown

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install file-to-markdown

What This Skill Does

Converts files and URLs into Markdown using the markdown.new API, built on Cloudflare Workers AI. Supports 20+ formats including PDFs, Office documents, spreadsheets, images, and HTML pages. No authentication required for up to 500 requests per day per IP.

Handles 20+ file formats through a single HTTP call with no auth setup, replacing multiple local parsers or library dependencies.

When to use it

  • Convert a PDF report into Markdown before passing it to an LLM
  • Extract spreadsheet rows for a RAG ingestion pipeline
  • Turn a public webpage into structured text for a knowledge base
  • Process uploaded user documents inside a chatbot workflow
  • Get AI-generated text descriptions from product or diagram images

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Extract the contents of this PDF as Markdown

AGENT
  1. 1Receive the public file URL or local file path from the user
  2. 2Send a GET request to https://markdown.new/<file-url> for remote files, or POST multipart form data to /convert for local files
  3. 3Check the success field in the response
  4. 4Extract the content field containing the Markdown text
OUTPUT

Clean Markdown text ready for LLM ingestion or storage