HTML to MD API

Convert HTML to Markdown with markdown converter API.

HTML MD

Fast and reliable HTML to MD Markdown conversion API that supports all standard HTML tags. Can create native or GitHub-flavored markdown documents.

Copy parameter's URL Secret Secret
Type: String

Authentication secret must be provided as a query parameter. If omitted, token must be provided.

Show all
Copy parameter's URL Token Token
Type: String

Authentication token must be provided as a query parameter. If omitted, secret must be provided.

Show all
Copy parameter's URL File File Required
Type: File

File to be converted. Value can be URL or file content.

Show all
Copy parameter's URL StoreFile Store file
Type: Bool

Store converted file on our secure server and provides download URL.

Default: False Show all
Copy parameter's URL FileName File name
Type: String

Converted output file name without extension. The extension will be added automatically.

Show all
Copy parameter's URL Timeout Timeout
Type: Integer

Conversion timeout in seconds.

Default: 120 Range: 10 .. 1200 Show all
Copy parameter's URL GithubFlavored Github flavored markdown
Type: Bool

Create GitHub-flavored markdown GFM.

Default: False Show all
Copy parameter's URL RemoveComments Remove comments
Type: Bool

Remove comment tags.

Default: False Show all
Copy parameter's URL UnsupportedTags Process unsupported tags
Type: Collection

Sets the rules on how to handle unsupported HTML tags.

Default: PassThrough Values: PassThrough Drop Bypass Fail Show all
Copy parameter's URL PassThroughTags Pass through tags
Type: String

Enter pass-through tags, separating them with commas. The tags will be copied to the MD document without processing. The UnsupportedTags property should be set to PassThrough.

Show all
Copy parameter's URL ListBulletChar List bullet char
Type: String

Set bullet list character.

Default: - Show all

Code snippet

// Code snippet is using the ConvertAPI JavaScript Client: https://github.com/ConvertAPI/convertapi-js

// Code snippet is using the ConvertAPI Node.js Client: https://github.com/ConvertAPI/convertapi-nodejs

// Code snippet is using the ConvertAPI PHP Client: https://github.com/ConvertAPI/convertapi-php

// Code snippet is using the ConvertAPI Java Client: https://github.com/ConvertAPI/convertapi-java

// Code snippet is using the ConvertAPI C# Client: https://github.com/ConvertAPI/convertapi-dotnet

# Code snippet is using the ConvertAPI Ruby Client: https://github.com/ConvertAPI/convertapi-ruby

# Code snippet is using the ConvertAPI Python Client: https://github.com/ConvertAPI/convertapi-python

// Code snippet is using the ConvertAPI Go Client: https://github.com/ConvertAPI/convertapi-go

REM Code snippet is using the command line utility program: https://github.com/ConvertAPI/convertapi-cli

<!-- For conversions with the multiple file result please refer to this example: https://repl.it/@ConvertAPI/HTML-Form-with-multiple-file-result -->