Tools

Markdown Link Generator

Build the link, copy the syntax. Switch between inline, reference-style, image-as-link, mailto and in-page anchor links - every flavour Markdown actually supports - and see the slug preview update as you type.

Markdown output
[md2document](https://md2document.com)

The five Markdown link styles

Markdown has more than one link syntax - each fits a different situation. Here is when to reach for which.

Inline

The default. Compact and easy to read in source. Use this everywhere unless you have a reason not to.

[md2document](https://md2document.com "Markdown to PDF")

Reference

The text and URL are separated. Useful when the same link repeats in a long document, or when the URLs are noisy and you want the paragraph to read cleanly.

See the [converter][md2doc] for details.

[md2doc]: https://md2document.com

Image as link

A clickable image. Common for status badges and screenshots that should open the source page.

[![Preview](https://md2document.com/og-default.png)](https://md2document.com)

Mailto

A link that opens the user's mail client. The subject, body, cc and bcc are URL-encoded query parameters on the mailto: scheme. The builder above handles the encoding.

[Email us](mailto:hello@example.com?subject=Project%20enquiry)

Section anchor

A link to a heading inside the same document. GitHub turns ## Site conditions into the anchor #site-conditions. Most static-site generators follow the same rule. The slug preview above shows what the anchor will be.

[Jump to site conditions](#site-conditions)

Compatibility

  • GitHub and GitLab - every style above renders in issues, PRs and READMEs.
  • Obsidian, VS Code preview, Typora, Bear.
  • Notion (via Markdown import) - inline links convert cleanly; reference links are expanded.
  • md2document - paste the output into the editor and export PDF or DOCX.

Runs in your browser - nothing is sent to a server.

Related