String Utilities 도구 업데이트됨 3주 전

Markdown Link Extractor

Extract the links from a Markdown document into a table and JSON. The tool collects Markdown links with their text, URL and optional title, plus bare http and https addresses, while skipping fenced code blocks. Copy the array or download it as markdown-links.json for audits and migrations.

항상 무료 사용하기 쉬움 즉각적인 결과 비공개이며 안전합니다

사용법 Markdown Link Extractor

마크다운 링크 추출기

마크다운 콘텐츠에서 링크 텍스트, URL 및 선택적 제목을 추출하여 구조화된 JSON 형식으로 변환합니다.

마크다운 입력

여기에 마크다운 링크를 붙여넣으세요

추출된 링크

링크 텍스트, URL 및 선택 사항인 제목
본문 URL 제목
아직 추출된 링크가 없습니다.
링크 추천
다음과 같은 표준 마크다운 링크: [text](url) 그리고 [text](url "title") 지원됩니다. 추출된 JSON은 감사, 마이그레이션 및 콘텐츠 유효성 검사에 유용합니다.
도구 링크
클립보드에 복사되었습니다.
이 도구를 개선하는 데 도움을 주세요

내용 읽기

이 도구의 작동 방식과 사용 시기를 알아보세요.

List every link in a Markdown file

A long README, a knowledge-base article or a set of course notes can hold dozens of links: references to documentation, download pages, internal sections, email addresses and bare URLs pasted straight into the text. The Markdown Link Extractor finds them and lists each one with its anchor text, its address and its optional title. You get a readable table for a quick look and a JSON array you can copy or download for audits, migrations and link checks.

Two kinds of links are collected

The extractor runs two separate passes over the text outside code fences. Images are blanked out first, so they never appear in the results:

  1. Markdown links in the form [text](url) or [text](url "title"). These come out with their text, URL and title. Relative paths, anchors such as #install, and mailto: addresses are all captured this way.
  2. Bare web addresses starting with http:// or https:// anywhere else in the text, including autolinks like <https://example.com>. Markdown links found in the first pass are removed before this pass runs, so their URLs are not counted again. These come out with the URL only, and text set to null.

Each result is an object such as:

{"text": "Docs", "url": "https://example.com/docs", "title": "Read the docs"}

Within each stretch of text between code fences, the Markdown links are listed first and the bare addresses follow.

Each link is listed once

A link written as [Docs](https://example.com/docs) produces one entry, with the text "Docs", because the bare-address pass skips URLs that already belong to a Markdown link. A URL appears more than once only when your document really contains it more than once, for example two links to the same page with different anchor text. The tool does not merge those, so de-duplicate the JSON by URL if you want one row per address.

To find addresses that were pasted as bare URLs, look for entries with text set to null.

Other behaviour worth knowing

  • Images are excluded. An image such as ![Logo](logo.png) is removed before either pass, so neither the image file nor its alt text is listed. Use the Markdown Image Extractor for images.
  • Reference-style links such as [guide][1] are not captured as links. If the definition line [1]: https://example.com holds a web address, that address is picked up by the bare-URL pass, without text.
  • Fenced code blocks are skipped, but inline code in single backticks is not, so a link shown as an example inside backticks is still listed.
  • Titles must be in double quotes to be recognised.
  • Angle brackets around a URL are trimmed from the result.

A sample run

Consider this paragraph: Read the [guide](https://example.com/guide), email [support](mailto:[email protected]), or visit https://example.com/status for uptime. ![Logo](https://example.com/logo.png) The extractor returns three entries. First come the two Markdown links: "guide" pointing to https://example.com/guide and "support" pointing to the mail address. Then comes the bare address https://example.com/status with no text. The guide URL is not repeated as a bare address, and the logo image is not listed at all.

Step-by-step guide

  1. Paste your Markdown into Input Markdown, or press Paste in the header.
  2. Check the "possible links" counter in the footer. It is a quick browser-side estimate of Markdown links only.
  3. Press Extract. The button reads "Working" while the request runs.
  4. Read the Extracted Links table, which shows Text, URL and Title for each entry. Web addresses, mail and phone links, root-relative paths and anchors are clickable and open in a new tab.
  5. Copy the array with the copy icon (Copy JSON), or save it as markdown-links.json with the download icon (Download JSON).
  6. Clear the input and results with the trash icon.

Server processing

The extraction is done on this site's server. When you press Extract your Markdown is sent there, both passes run, and the list returns to your browser. The tool does not visit or test any of the links. Each request accepts up to 200,000 characters; anything longer is rejected with an error message, so split very large documents first.

Where a link list helps

Link audits before publishing

Export the list, then open or check each URL. It is much easier to work through a column of addresses than to hunt for links in rendered text.

Domain and site migrations

When a product moves from one domain to another, the URL list shows every reference to the old domain that needs rewriting, including bare URLs that are easy to overlook.

Reviewing outbound references

Editors and SEO teams can see at a glance which external sites a page points to and whether the anchor text describes them well. Vague anchors such as "here" or "click this" stand out in the Text column.

Building a reading list or bibliography

Researchers and students can pull every source from a set of notes into one file, then format it however they need.

Checking internal navigation

Relative links and anchors show how a document set links to itself. Missing or misspelled paths are easier to spot in a sorted list.

Tips

  • De-duplicate by URL after exporting if the same address is linked several times and you want one row per address.
  • Write links in Markdown form rather than as bare URLs when you want anchor text in the export; bare addresses come out with text set to null.
  • Avoid spaces in link targets. A URL containing a space is not matched by the Markdown link pattern; encode it as %20.
  • Expect a bare URL followed by a period at the end of a sentence to include that period. Check URLs at sentence ends.

What not to expect

  • No broken-link checking. The extractor lists links; it does not fetch them.
  • No HTML link detection. Anchor tags written as <a href="..."> contribute only their bare http or https address, without text.
  • No automatic de-duplication or sorting.
  • No image listing; images are skipped.

Limitations

  • Repeated links to the same address are each listed; there is no merging.
  • Reference-style links lose their text.
  • Bare addresses are matched only when they start with http or https; addresses like www.example.com on their own are missed.
  • Input is capped at 200,000 characters and processed on the server.
  • JSON is the only export format.

Related tools

To actually test whether each address responds, use the Markdown Broken Link Checker. If you need the links removed but their text kept, Markdown Strip Links does that, and the Markdown Image Extractor lists images on their own.

Frequently Asked Questions

자주 묻는 질문

사용자가 결과를 신뢰하기 전에 자주 묻는 질문에 대한 간결한 답변.

Only because it occurs twice in your Markdown, for example in two separate links. Each Markdown link is listed once, and its URL is not picked up again as a bare address. De-duplicate by URL if you need one row per address.

Yes. Any address starting with http or https is listed, with the text field set to null.

No. Markdown images are removed before links are collected, so neither the image address nor its alt text is listed. Use the Markdown Image Extractor to list images.

No. It only lists links. Use a broken link checker to test whether each address responds.

Links inside fenced code blocks are skipped. Links shown in inline code with single backticks are still extracted.

It is sent to this site's server for extraction and the results are returned to your browser. Each request accepts up to 200,000 characters.

markdown-links.json is an array of objects with text, url and title keys, in the order the links were found.

댓글 (0)

사용자 토론, 예외적인 사례 및 추가 팁을 위한 공간입니다.
댓글 남기기
댓글을 제출하면 공개적으로 표시됩니다.
아직 댓글이 없습니다. 가장 먼저 댓글을 남겨보세요!
저희에게 알려주세요!
이 도구와 관련된 문제를 신고하기

발생한 문제를 자세히 설명해 주시면, 저희가 이를 조사하고 도구를 개선할 수 있습니다.

가장 도움이 되는 것은 무엇인가
입력 내용, 예상 결과, 실제 결과, 브라우저/기기 정보를 기재해 주시고, 도움이 될 경우 스크린샷도 첨부해 주세요.
스크린샷 버튼은 브라우저에 표시된 페이지를 캡처하여 생성된 이미지를 이 양식에 첨부합니다.
전체 화면 스크린샷
newisty를 통해 브라우저에서 캡처되었습니다.
아직 스크린샷을 찍지 않았습니다.
도구 보고서