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/ Your data stays in your browser.
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?
- Write one link per line as "text | url | title"; the title is optional and a line with only a URL also works.
- Choose the link style: inline, reference, autolink, HTML or BBCode.
- 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).
- 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:
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
[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.
Related tools
Markdown Editor & Live Preview
Type or paste Markdown on one side and read the rendered result on the other, with instant document statistics.
Markdown & Diagrams
Markdown to HTML Converter
Turn Markdown into ready-to-paste HTML, as a fragment or a complete document, with a safe preview beside it.
Markdown & Diagrams
HTML to Markdown Converter
Paste an HTML fragment or a saved web page and get clean Markdown with the style options you prefer.
Markdown & Diagrams
Markdown Table Generator
Paste spreadsheet-style rows and get a tidy, GitHub-ready Markdown table with padded columns and per-column alignment.
Markdown & Diagrams
URL Encoder
Make any text safe for a URL: spaces, accents, ampersands and emoji become %XX sequences.
Encoding & Decoding
URL Parser
Paste a URL and see every component separately, with the query parameters decoded in a table.
Developer Tools
UTM Builder
Fill in your campaign fields and get a tagged URL that updates as you type.
Developer Tools
HTML Formatter
Paste minified or messy HTML and get clean, consistently indented markup you can read and diff.
Developer Tools