Jede HTML-Seite in sauberes, LLM-fertiges Markdown konvertieren. Entfernt Chrome (Navigation, Werbung, Sidebars), erhält Überschriften, Tabellen, fenced Code-Blöcke, Bilder mit Alt-Text und Links. Liefert Seitentitel, Hauptinhalt als Markdown, Wortanzahl, extrahierte Bild- und Link-Arrays sowie die abgeleitete Main-URL. Für Batch gebaut: 10.000 Artikel-URLs rein, eine Zeile pro Seite raus. Perfekt für LLM-Training-Korpora, RAG-Ingestion, Dokumentations-Spiegel und Content-Monitoring.
# Einen Lauf über die Apify-API starten curl -X POST "https://api.apify.com/v2/acts/santamaria-automations~html-to-markdown/runs?token=YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "urls": [ "https://blog.example.com/post-1", "https://docs.example.com/getting-started", "https://news.example.com/article-2026" ], "extractImages": true, "extractLinks": true, "mainContentOnly": true }' # Oder mit KI-Agenten via MCP verwenden: # https://mcp.apify.com?tools=santamaria-automations/html-to-markdown
| Feld | Typ | Beispiel |
|---|---|---|
| source_url | string | https://blog.example.com/post-1 |
| title | string | RAG-Pipelines bauen |
| main_content | string | # RAG-Pipelines bauen\n\nEin Praxisleitfaden... |
| word_count | integer | 1.842 |
| reading_time_minutes | integer | 8 |
| language | string | de |
| canonical_url | string | https://blog.example.com/post-1 |
| images | array | [{"src":"...","alt":"Diagramm"}] |
| links | array | [{"href":"...","text":"docs"}] |
| scraped_at | string | 2026-06-13T10:15:42Z |
Klicken Sie oben auf Auf Apify öffnen, um html-to-markdown im Browser auszuführen – kein Code, keine Installation. In der Apify-Konsole erhalten Sie:
Um diesen Actor aus Ihrem eigenen Code auszuführen, benötigen Sie einen Apify API-Token. In etwa einer Minute erledigt:
Gratiskontingent: Apify schreibt Ihrem Konto 5$ Plattformnutzung pro Monat gut, keine Kreditkarte erforderlich. Genug, um jeden Actor sinnvoll zu testen — bei 0,001$ pro Ergebnis sind das etwa 5.000 Ergebnisse gratis pro Monat.
Führen Sie diesen Actor aus jeder Sprache über die Apify-REST-API aus. Ersetzen Sie YOUR_TOKEN durch Ihren API-Token und passen Sie das JSON-Input an.
curl -X POST "https://api.apify.com/v2/acts/santamaria-automations~html-to-markdown/run-sync-get-dataset-items?token=YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'// npm install apify-client
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_TOKEN' });
const run = await client.actor('santamaria-automations/html-to-markdown').call({});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);# pip install apify-client
from apify_client import ApifyClient
client = ApifyClient('YOUR_TOKEN')
run = client.actor('santamaria-automations/html-to-markdown').call(run_input={})
items = list(client.dataset(run['defaultDatasetId']).iterate_items())
print(items)// dotnet add package Apify.Client
using Apify.Client;
var client = new ApifyClient("YOUR_TOKEN");
var run = await client.Actor("santamaria-automations/html-to-markdown").CallAsync(new { });
var items = await client.Dataset(run.DefaultDatasetId).ListItemsAsync();// Maven: com.apify:apify-client
import com.apify.client.ApifyClient;
ApifyClient client = new ApifyClient("YOUR_TOKEN");
ActorRun run = client.actor("santamaria-automations/html-to-markdown").call(Map.of());
List<Map<String,Object>> items = client.dataset(run.getDefaultDatasetId()).listItems();Dieser Actor ist auf dem Apify MCP-Server verfügbar, sodass Sie ihn von jedem MCP-kompatiblen KI-Client aus steuern können – Claude Desktop, Claude.ai, Cursor, VS Code, LangChain, LlamaIndex oder einem eigenen Agent – ohne Code zu schreiben.
https://mcp.apify.com?tools=santamaria-automations/html-to-markdownBeispiel-Prompt nach Verbindung:
"Verwende html-to-markdown, um einen Scrape durchzuführen, und liefere mir die Ergebnisse als Tabelle."
Clients mit dynamischer Tool-Discovery (Claude.ai, VS Code) erhalten das vollständige Input-Schema automatisch via add-actor.
Triggern Sie diesen Actor aus Ihrem Automatisierungstool. Alle unten aufgeführten Plattformen können die Apify-API in wenigen Klicks aufrufen — kein Code erforderlich.
@apify/n8n-nodes-apify installieren).santamaria-automations/html-to-markdown.https://api.apify.com/v2/acts/santamaria-automations~html-to-markdown/run-sync-get-dataset-items?token=YOUR_TOKEN hinzu.application/json.https://api.apify.com/v2/acts/santamaria-automations~html-to-markdown/run-sync-get-dataset-items?token=YOUR_TOKEN, Methode POST, Body raw JSON.https://api.apify.com/v2/acts/santamaria-automations~html-to-markdown/run-sync-get-dataset-items?token=YOUR_TOKEN.steps.http.$return_value zu.https://api.apify.com/v2/acts/santamaria-automations~html-to-markdown/run-sync-get-dataset-items?token=YOUR_TOKEN, Body type JSON.