Skip to main content

A tool to convert web pages to clean markdown format

Project description

URL to Markdown Converter

A FastAPI application that converts web pages to clean, readable markdown format.

Installation

pip install urltomarkdown

Usage

Command Line

url2md

Or use the interactive mode:

url2md --interactive

API

from urltomarkdown import convert_url

markdown = await convert_url("https://example.com")
print(markdown)

Features

  • Convert any web page to markdown
  • Clean and readable output
  • Support for code blocks with syntax highlighting
  • Table formatting
  • Link handling options
  • Rate limiting
  • Caching
  • API documentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

urltomarkdown-1.1.0.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

urltomarkdown-1.1.0-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

Details for the file urltomarkdown-1.1.0.tar.gz.

File metadata

  • Download URL: urltomarkdown-1.1.0.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for urltomarkdown-1.1.0.tar.gz
Algorithm Hash digest
SHA256 f137110832ebcae75cb948be43354f81142c447160ff2e8185efb0809c8526bf
MD5 0836d2c2e1620a15b7d19bc51d625831
BLAKE2b-256 1ed010214b4c53f2dde1b8ff571bb616c79aa947c7f662d09ec3c03585a130c6

See more details on using hashes here.

File details

Details for the file urltomarkdown-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: urltomarkdown-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 19.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for urltomarkdown-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ff731c0f9943479f99ade41447e421513a15752c0f7f93e934b2e5714d8f3b4
MD5 a4462c46eaf5a07d6a8f8c7f7ccc0795
BLAKE2b-256 1eba26be98127769854d72e19f7344c477727ce2d7599aa2ed551d3f0d8332e8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page