Skip to content

Markdown Link Generator

Type "text | url | title" on each line and get ready-to-paste links in Markdown, HTML or BBCode, with URLs escaped correctly.

Processed locally in your browser

Options
One link per line. Only a URL works too, and a line with two fields is read as text | url. javascript: and data: URLs are refused.0 chars · 0 lines
The result will appear here.

What is Markdown Link Generator?

A link needs different syntax on every platform: Markdown uses [text](url "title"), HTML uses <a href>, and forum software often wants BBCode [url=…]. This generator writes the same link in the syntax you pick: inline Markdown, reference-style Markdown ([text][1] with the URL definitions collected at the end), an <autolink>, an HTML anchor, or BBCode.

It handles the details that break links by hand. Spaces and parentheses in a URL are percent-encoded (or wrapped in angle brackets), characters like [ ] * _ in the link text are escaped, titles are quoted safely, bare domains get https://, and e-mail addresses become mailto: links. In HTML you can add rel="noopener noreferrer", nofollow and target="_blank". URLs using javascript: or data: are refused. Paste a whole list to convert many links, optionally as a bulleted or numbered list.

How does it work?

  1. Write one link per line as "text | url | title"; the title is optional and a line with only a URL also works.
  2. Choose the link style: inline, reference, autolink, HTML or BBCode.
  3. Set how spaces and parentheses in URLs are handled, whether to wrap the links in a list, and the HTML options (rel, nofollow, new tab).
  4. Copy the generated links; skipped lines are listed with the reason.

Common use cases

  • Writing README files, wiki pages and documentation with correctly escaped links.
  • Converting a list of resources into a Markdown bulleted list or an HTML <ul> for a blog post.
  • Producing reference-style links to keep long paragraphs readable in Markdown source.
  • Creating BBCode or HTML links for forum signatures, newsletters and CMS fields.

Examples

Try this input in the tool above:

Input
Example site | https://example.com | The example domain
Wikipedia: Markdown | https://en.wikipedia.org/wiki/Markdown_(disambiguation)
My notes | https://example.com/my notes/a (draft).html
support@example.com
docs.example.org/guide?x=1&y=2
Output
[Example site](https://example.com "The example domain")
[Wikipedia: Markdown](https://en.wikipedia.org/wiki/Markdown_%28disambiguation%29)
[My notes](https://example.com/my%20notes/a%20%28draft%29.html)
[support@example.com](mailto:support@example.com)
[docs.example.org/guide?x=1&y=2](https://docs.example.org/guide?x=1&y=2)

Privacy

Markdown Link Generator runs entirely in your browser. The text or files you provide are processed on your device and are not uploaded, logged or stored on our servers.

Limitations

The tool does not check that a URL exists or is reachable, and it never opens it. Titles are not part of BBCode, and autolinks always show the URL itself instead of a custom text.

Frequently asked questions

How are parentheses and spaces in URLs handled?

By default they are percent-encoded (%28, %29, %20), which works in every Markdown parser. You can instead wrap the URL in <angle brackets>, or leave it untouched.

What is a reference-style link?

The text uses a short label such as [docs][1], and the URL and title are defined once at the end of the document as [1]: https://example.com. It keeps long paragraphs clean, and repeated URLs share the same number.

Why was my javascript: link refused?

javascript:, data: and similar schemes can run code when a link is clicked, so they are never generated. Only http, https, ftp, mailto, tel and relative links are produced.

More tools in Markdown & Diagrams →