> **平台**: 万维易源 (ShowAPI)
> **接入方式**: 统一 API 网关 (HTTPS POST/GET)
> **认证**: showapi_appid + showapi_sign
> **文档**: https://www.showapi.com/apiGateway/view/3193/2

---
title: "HTML转换MD - HTML转Markdown|万维易源ShowAPI"
canonical_url: "https://www.showapi.com/apiGateway/view/3193/2"
last_updated: "2026-09-14T06:03:26.553Z"
meta:
  description: 此接口可将HTML网页源码转换为Markdown文本，按每消耗3000token（对应正文约2300字）计费一次，若正文文字过多，可能产生多次计费。
  keywords: "HTML转换MD,HTML转Markdown,HTML转Markdown,API接口,网页内容提取,网页转文本,机器学习,文档整理,AI人工智能,格式转换工具,在线转换器,文本格式化,内容迁移,数据处理,高效率,Markdown,HTML,复杂格式转换,代码转换,表格转换,格式化助手,场景应用,文本处理,智能转换,源码转换,工作效率,内容优化,数据整理,网页内容提取,文档整理,Markdown,HTML,数据转换,内容处理,AI辅助,api接口,api接口大全,免费api,免费数据接口,数据接口,api开放平台,万维易源,showapi,大模型,AI Skills"
  "og:description": 此接口可将HTML网页源码转换为Markdown文本，按每消耗3000token（对应正文约2300字）计费一次，若正文文字过多，可能产生多次计费。
  "og:title": "API 市场|万维易源ShowAPI"
---

*

*

*

# **HTML转Markdown**

**官方自营**

智能HTML转Markdown接口可将HTML内容转换为Markdown格式，支持代码、表格等复杂格式，适用于内容迁移、数据处理与分析等多种场景。

[网页内容提取](https://www.showapi.com/market?search=%E7%BD%91%E9%A1%B5%E5%86%85%E5%AE%B9%E6%8F%90%E5%8F%96) [文档整理](https://www.showapi.com/market?search=%E6%96%87%E6%A1%A3%E6%95%B4%E7%90%86) [Markdown](https://www.showapi.com/market?search=Markdown) [HTML](https://www.showapi.com/market?search=HTML) [数据转换](https://www.showapi.com/market?search=%E6%95%B0%E6%8D%AE%E8%BD%AC%E6%8D%A2) [内容处理](https://www.showapi.com/market?search=%E5%86%85%E5%AE%B9%E5%A4%84%E7%90%86) [AI辅助](https://www.showapi.com/market?search=AI%E8%BE%85%E5%8A%A9)

已选规格

￥**9.90**元

自购买起有效期 12 个月

专用资源包0.00元 9.90元 99.00元 899.00元 1299.00元 查看全部规格 ›

支持****通用资源包****：充值通用资源包后可直接调用含本接口在内的全站付费接口，无需单独购买专用资源包 [**去充值 ›**](https://www.showapi.com/ai/llm/recharge)

在线调试 立即购买

**官方自营**

易源官方提供，长期稳定运营

<dl>

<dt>服务商</dt>
<dd>昆明秀派科技有限公司</dd>

<dt>电话</dt>
<dd>400-998-8033</dd>

<dt>QQ</dt>
<dd>4009988033</dd>

<dt>邮箱</dt>
<dd>[service@showapi.com](mailto:service@showapi.com)</dd>

</dl>

<dl>

<dt>所属分类</dt>
<dd>企业服务</dd>

<dt>接入点</dt>
<dd>3 个</dd>

<dt>请求方式</dt>
<dd>POST/GET</dd>

<dt>返回格式</dt>
<dd>JSON</dd>

</dl>

**HTML转换MD**

接入点说明

```
此接口可将HTML网页源码转换为Markdown文本，按每消耗3000token（对应正文约2300字）计费一次，若正文文字过多，可能产生多次计费。
```

接口地址

https://route.showapi.com/3193-2?appKey={your\_appKey} [查看密钥](https://www.showapi.com/console#/myApp) [调用帮助](https://www.showapi.com/helpcenter/view#/3960/1)

返回格式JSON

请求方式POST/GET

**请求参数**

**Header 参数**

| |
|

| |
|

**Post 表单**

| |
|

| |
|
| |
| |
| |

**返回参数**查看公共返回参数

该接口为**透传模式**，直接返回服务商原始数据，**无 showapi\_res\_body 封装**。

**返回体**

| |
|

| |
|
| |
| |
| |

**请求示例**

[查看我的 appKey](https://www.showapi.com/console#/myApp) [查看使用向导](https://www.showapi.com/helpcenter/view#/3960/1) [Python / Java 等多语言示例](https://www.showapi.com/apitest/market/3193/2)

cURL 复制

```
curl -X POST "https://route.showapi.com/3193-2?appKey=YOUR_APPKEY" \
  -H "content-type: application/x-www-form-urlencoded" \
  -d "html=%20%3C!DOCTYPE%20HTML%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20HTML%204.01%20Transitional%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FTR%2Fhtml4%2Floose.dtd%22%3E%20%3Chtml%3E%20%3Chead%3E%20%3Ctitle%3Elibcurl%20-%20the%20multiprotocol%20file%20transfer%20library%3C%2Ftitle%3E%20%3Cmeta%20name%3D%22viewport%22%20content%3D%22width%3Ddevice-width%2C%20initial-scale%3D1.0%22%3E%20%3Cmeta%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20http-equiv%3D%22Content-Type%22%3E%20%3Cscript%20type%3D%22text%2Fjavascript%22%20nonce%3D%22fab99ea9780e4289b8051a24524%22%20src%3D%22%2F%2Finjections.adguard.org%3Fts%3D1712884296286%26amp%3Btype%3Dcontent-script%26amp%3Bdmn%3Dcurl.se%26amp%3Burl%3Dhttps%253A%252F%252Fcurl.se%252Flibcurl%252F%26amp%3Bapp%3Dcom.operasoftware.Opera%26amp%3Bcss%3D3%26amp%3Bjs%3D1%26amp%3Brel%3D1%26amp%3Brji%3D1%26amp%3Bsbe%3D1%22%3E%3C%2Fscript%3E%20%3Cscript%20type%3D%22text%2Fjavascript%22%20nonce%3D%22fab99ea9780e4289b8051a24524%22%20src%3D%22%2F%2Finjections.adguard.org%3Fts%3D1712884296286%26amp%3Bname%3DAdGuard%2520Popup%2520Blocker%26amp%3Bname%3DAdGuard%2520Extra%26amp%3Btype%3Duser-script%22%3E%3C%2Fscript%3E%3Clink%20rel%3D%22stylesheet%22%20type%3D%22text%2Fcss%22%20href%3D%22%2Fcurl.css%22%3E%20%3Clink%20rel%3D%22shortcut%20icon%22%20href%3D%22%2Ffavicon.ico%22%3E%20%3Clink%20rel%3D%22icon%22%20href%3D%22%2Flogo%2Fcurl-symbol.svg%22%20type%3D%22image%2Fsvg%2Bxml%22%3E%20%3Clink%20rel%3D%22alternate%22%20type%3D%22application%2Frss%2Bxml%22%20title%3D%22cURL%20Releases%22%20href%3D%22https%3A%2F%2Fgithub.com%2Fcurl%2Fcurl%2Freleases.atom%22%3E%20%3Cmeta%20name%3D%22description%22%20content%3D%22libcurl%20is%20a%20free%20and%20easy-to-use%20%20client-side%20URL%20transfer%20library%2C%20supporting%20DICT%2C%20FILE%2C%20FTP%2C%20FTPS%2C%20%20GOPHER%2C%20GOPHERS%2C%20HTTP%2C%20HTTPS%2C%20IMAP%2C%20IMAPS%2C%20LDAP%2C%20LDAPS%2C%20MQTT%2C%20POP3%2C%20POP3S%2C%20%20RTMP%2C%20RTMPS%2C%20RTSP%2C%20SCP%2C%20SFTP%2C%20SMB%2C%20SMBS%2C%20SMTP%2C%20SMTPS%2C%20TELNET%20and%20%20TFTP.%20libcurl%20supports%20SSL%20certificates%2C%20HTTP%20POST%2C%20HTTP%20PUT%2C%20FTP%20%20uploading%2C%20kerberos%2C%20HTTP%20form%20based%20upload%2C%20proxies%2C%20cookies%2C%20%20user%2Bpassword%20authentication%2C%20file%20transfer%20resume%2C%20http%20proxy%20tunneling%20%20and%20more%22%3E%20%3C%2Fhead%3E%20%3Cbody%3E%20%3Cdiv%20class%3D%22main%22%3E%20%3Cdiv%20class%3D%22menu%22%3E%20%3Ca%20href%3D%22%22%20class%3D%22itemselect%22%3Elibcurl%20%3C%2Fa%3E%20%3Cdiv%20class%3D%22dropdown%22%3E%20%20%20%3Ca%20class%3D%22dropbtn%22%20href%3D%22%2Flibcurl%2F%22%3EDocs%3C%2Fa%3E%20%20%20%3Cdiv%20class%3D%22dropdown-content%22%3E%20%20%20%20%20%3Ca%20href%3D%22%2Flibcurl%2Fabi.html%22%3EABI%3C%2Fa%3E%20%20%20%20%20%3Ca%20href%3D%22%2Flibcurl%2Fc%2F%22%3EAPI%3C%2Fa%3E%20%20%20%20%20%3Ca%20href%3D%22%2Flibcurl%2Fbindings.html%22%3EBindings%3C%2Fa%3E%20%20%20%20%20%3Ca%20href%3D%22%2Flibcurl%2Fcompetitors.html%22%3ECompetitors%3C%2Fa%3E%20%20%20%20%20%3Ca%20href%3D%22%2Flibcurl%2Fc%2Fexample.html%22%3EExamples%3C%2Fa%3E%20%20%20%20%20%3Ca%20href%3D%22%2Flibcurl%2Ffeatures.html%22%3EFeatures%3C%2Fa%3E%20%20%20%20%20%3Ca%20href%3D%22%2Fmail%2Flist.cgi%3Flist%3Dcurl-library%22%3EMailing%20list%3C%2Fa%3E%20%20%20%20%20%3Ca%20href%3D%22%2Flibcurl%2Frelatedlibs.html%22%3ERelated%20libs%3C%2Fa%3E%20%20%20%20%20%3Ca%20href%3D%22%2Flibcurl%2Fusing%2F%22%3EUsing%20libcurl%3C%2Fa%3E%20%20%20%20%20%3Ca%20href%3D%22%2Flibcurl%2Fsecurity.html%22%3ESecurity%3C%2Fa%3E%20%20%20%20%20%3Ca%20href%3D%22%2Flibcurl%2Fc%2Fsymbols-in-versions.html%22%3ESymbols%3C%2Fa%3E%20%20%20%20%20%3Ca%20href%3D%22%2Flibcurl%2Fc%2Flibcurl-tutorial.html%22%3ETutorial%3C%2Fa%3E%20%20%20%20%20%3Ca%20href%3D%22%2Flibcurl%2Ftheysay.html%22%3ETestimonials%3C%2Fa%3E%20%20%20%3C%2Fdiv%3E%20%3C%2Fdiv%3E%20%3C%2Fdiv%3E%20%3Cdiv%20class%3D%22contents%22%3E%20%3Cdiv%20class%3D%22where%22%3E%3Ca%20href%3D%22%2F%22%3Ecurl%3C%2Fa%3E%20%2F%20%3Cb%3Elibcurl%20overview%3C%2Fb%3E%3C%2Fdiv%3E%20%3Ch1%3E%20libcurl%20-%20the%20multiprotocol%20file%20transfer%20library%20%3C%2Fh1%3E%20%3Cp%3E%20%20libcurl%20is%20a%20%3Ca%20href%3D%22%2Fdocs%2Fcopyright.html%22%20title%3D%22free%20as%20in%20both%20free%20%20speech%20and%20zero%20price!%22%3Efree%3C%2Fa%3E%20and%20easy-to-use%20client-side%20URL%20transfer%20%20library%2C%20supporting%20DICT%2C%20FILE%2C%20FTP%2C%20FTPS%2C%20GOPHER%2C%20GOPHERS%2C%20HTTP%2C%20HTTPS%2C%20%20IMAP%2C%20IMAPS%2C%20LDAP%2C%20LDAPS%2C%20MQTT%2C%20POP3%2C%20POP3S%2C%20RTMP%2C%20RTMPS%2C%20RTSP%2C%20SCP%2C%20SFTP%2C%20%20SMB%2C%20SMBS%2C%20SMTP%2C%20SMTPS%2C%20TELNET%20and%20TFTP.%20libcurl%20supports%20SSL%20%20certificates%2C%20HTTP%20POST%2C%20HTTP%20PUT%2C%20FTP%20uploading%2C%20HTTP%20form%20based%20upload%2C%20%20proxies%2C%20HTTP%2F2%2C%20HTTP%2F3%2C%20cookies%2C%20user%2Bpassword%20authentication%20(Basic%2C%20%20Digest%2C%20NTLM%2C%20Negotiate%2C%20Kerberos)%2C%20file%20transfer%20resume%2C%20http%20proxy%20%20tunneling%20and%20more!%20%3C%2Fp%3E%20%3Cp%3E%20%20libcurl%20is%20highly%20portable%2C%20it%20builds%20and%20works%20identically%20on%20numerous%20%20platforms%2C%20including%20Solaris%2C%20NetBSD%2C%20FreeBSD%2C%20OpenBSD%2C%20Darwin%2C%20HPUX%2C%20IRIX%2C%20%20AIX%2C%20Tru64%2C%20Linux%2C%20UnixWare%2C%20HURD%2C%20Windows%2C%20Amiga%2C%20OS%2F2%2C%20BeOs%2C%20Mac%20OS%20X%2C%20%20Ultrix%2C%20QNX%2C%20OpenVMS%2C%20RISC%20OS%2C%20Novell%20NetWare%2C%20DOS%20and%20more...%20%3C%2Fp%3E%20%3Cp%3E%20%20libcurl%20is%20%3Ca%20href%3D%22%2Fdocs%2Fcopyright.html%22%3Efree%3C%2Fa%3E%2C%20%3Ca%20%20href%3D%22features.html%23thread%22%3Ethread-safe%3C%2Fa%3E%2C%20%3Ca%20%20href%3D%22features.html%23ipv6%22%3EIPv6%20compatible%3C%2Fa%3E%2C%20%3Ca%20%20href%3D%22features.html%23features%22%3Efeature%20rich%3C%2Fa%3E%2C%20%3Ca%20%20href%3D%22features.html%23support%22%3Ewell%20supported%3C%2Fa%3E%2C%20%3Ca%20%20href%3D%22features.html%23fast%22%3Efast%3C%2Fa%3E%2C%20%3Ca%20href%3D%22features.html%23docs%22%3Ethoroughly%20%20documented%3C%2Fa%3E%20and%20is%20already%20used%20by%20many%20known%2C%20big%20and%20successful%20%3Ca%20%20href%3D%22%2Fdocs%2Fcompanies.html%22%3Ecompanies%3C%2Fa%3E.%20%3C%2Fp%3E%20%3Cp%3E%3Cb%3EDownload%3C%2Fb%3E%20%3Cp%3E%20%20Go%20to%20the%20regular%20curl%20%3Ca%20href%3D%22%2Fdownload.html%22%3Edownload%20page%3C%2Fa%3E%20and%20get%20the%20%20latest%20curl%20package%2C%20or%20one%20of%20the%20specific%20libcurl%20packages%20listed.%20%3Cp%3E%3Cb%3EAPI%3C%2Fb%3E%20%3Cp%3E%20%20You%20use%20libcurl%20with%20the%20provided%20%3Ca%20href%3D%22c%2F%22%3EC%20API%3C%2Fa%3E.%20The%20curl%20team%20works%20%20hard%20to%20keep%20the%20%3Ca%20href%3D%22features.html%23stableapi%22%3EAPI%20and%20ABI%20stable%3C%2Fa%3E.%20%20If%20you%20prefer%20using%20libcurl%20from%20your%20other%20favorite%20language%2C%20chances%20are%20%20there's%20already%20a%20%3Ca%20href%3D%22bindings.html%22%3Ebinding%3C%2Fa%3E%20written%20for%20it.%20%3Cp%3E%3Cb%3EHowto%3C%2Fb%3E%20%3Cp%3E%20%20Check%20out%20our%20%3Ca%20href%3D%22using%2F%22%3Eusing%20libcurl%3C%2Fa%3E%20page%20for%20general%20hints%20and%20%20advice%20and%20man%20pages%20for%20%3Ca%20href%3D%22c%2Fallfuncs.html%22%3Eevery%20function%3C%2Fa%3E%20and%20%20option.%20Also%2C%20check%20out%20%20the%20%3Ca%20href%3D%22https%3A%2F%2Feverything.curl.dev%2Flibcurl%22%3Elibcurl%20section%20of%20%20everything%20curl%3C%2Fa%3E.%20%3Cp%3E%20%20libcurl%20is%20probably%20the%20most%20portable%2C%20most%20powerful%20and%20most%20often%20used%20%20network%20transfer%20library%20on%20this%20planet.%20%3C%2Fdiv%3E%20%3C%2Fdiv%3E%20%3C%2Fbody%3E%20%3C%2Fhtml%3E&ret_type=markdown&run_type=async&task_name="
```

**返回示例**

JSON 复制

```
{
  "remark": "请求成功",
  "md_text": "",
  "task_id": "",
  "ret_code": 0
}
```

**MCP 服务集成**接口级

在 Cherry Studio、ChatBox 等支持 MCP 的客户端中配置，将 {your\_appKey} 替换为真实 AppKey（ [AppKey 管理](https://www.showapi.com/console#/myApp)）。该服务覆盖本接口全部接入点。

MCP JSON 复制

```
{
  "mcpServers": {
    "showapi-mcp-3193": {
      "url": "http://www.showapi.com.cn/mcp/3193/{your_appKey}"
    }
  }
}
```

**OpenAPI 文档**接口级

标准 OpenAPI 3.0 文档，覆盖本接口全部接入点，可导入 Apifox / Postman / Swagger UI，或供 AI Agent 直接消费。

[在线查看 YAML](https://www.showapi.com/openapi/market/3193.yaml) [下载 YAML](https://www.showapi.com/openapi/market/3193.yaml) [查看 JSON](https://www.showapi.com/openapi/market/3193.json)