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-0.2.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-0.2.0-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: urltomarkdown-0.2.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-0.2.0.tar.gz
Algorithm Hash digest
SHA256 424067b9eafd7ef82a42210cb1a90ce098ab3282710edcd0a61e5e9162a18775
MD5 5700c27a5a143fab2f7c36608dafa408
BLAKE2b-256 600e789b0b6eead87157b9aad79a54e28fa03a9a9c320ee55e3a7ac2d650cb84

See more details on using hashes here.

File details

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

File metadata

  • Download URL: urltomarkdown-0.2.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-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 efaff76e7d34568a3a225cce4990bd77f0c61c41f9626d8a7e2387f6f091b28e
MD5 c4b840e02aa576a23f5ab971c3425e63
BLAKE2b-256 d4a8eb1fe53d30b1c7948a13aa94ce83e0ca09568d8347fce435658a9ede4d18

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