URL to Markdown Converter

Convert a public webpage URL to Markdown online. Resolve relative links and image URLs, then copy the result or download a .md file.

Conversion settings

Conversion options

Enable rendering if a public page’s content appears after it loads. For signed-in pages, paste the rendered HTML from your browser.

Markdown output

Pasted HTML and local files stay in your browser.

Convert one article or reference page

Paste the address and select Import. The example opens a routing guide with a section link. The converter imports the page and uses its final address to resolve relative links and image URLs. Turn on Add source URL to include the final page address in the Markdown.

Example input

https://docs.astro.build/en/guides/routing/#static-routes

A URL fragment points to a heading but does not select a section for conversion. If you only need that section, paste its HTML. For a public page whose content appears after load, use JavaScript rendering.

Convert a JavaScript webpage

Save a webpage as an Obsidian note

URL to Markdown FAQs

Can I convert a webpage by pasting its URL?

Enter the address of a public webpage and select Import. The converter fetches its HTML, extracts the main content by default, and lets you preview, copy, or download the Markdown.

What happens to relative links and images?

The converter resolves relative links and image URLs against the final page address after redirects, taking account of a usable base URL declared in the page. Keep links and Keep image URLs control which references appear in the output.

Why do images appear as text in Preview?

Preview shows alt text or an image placeholder so your browser can check the layout without fetching remote images. With Keep image URLs enabled, switch to Raw to see the image links in the generated Markdown.

Can I convert just the part of a page after a # in the URL?

A fragment such as #installation points to a section in the browser. The standard URL import converts the page as a whole. Copy the HTML for that section into Paste HTML if you only need the section.

How do I remove menus or keep a sidebar from the page?

Leave Extract main content enabled to filter common menus, sidebars, and banners. If a useful section is missing, turn extraction off in Settings and check Preview again.

Why did a public URL import fail or produce very little text?

The page may block automated requests, require sign-in, or build its content after loading. For client-rendered content, try Render JavaScript. If you can access the page yourself, paste the relevant HTML or open a saved copy.