Markdown TOC & Link Extractor
Make a table of contents with GitHub-style anchors, list every link and image, and tidy Markdown style.
Runs in your browser. Nothing leaves this device.
How to use Markdown TOC & Link Extractor
- 1Paste your Markdown, such as a README.
- 2Pick Contents, Links or Tidy.
- 3Copy the result.
Questions
Do the contents links work on GitHub?
Yes. Anchors follow GitHub’s rules: lower case, punctuation removed, spaces turned into hyphens, and repeated headings numbered -1, -2 and so on.
Which links are listed?
Inline links, images, reference definitions such as [1]: https://example.com, and links in angle brackets. Anything inside code is skipped.
What does Tidy change?
It turns underlined headings into # headings, puts one space after the #, uses - for bullets, adds blank lines around headings, removes runs of blank lines and trailing spaces. Code blocks are left exactly as they are.
Is my text uploaded?
No. Everything runs in your browser.
Is it free?
Yes. No account, no watermark and no daily limit.
Related tools
- TextCase ConverterChange text to UPPER, lower, Title or Sentence case, or to camelCase, snake_case and kebab-case for code.
- TextWord CounterCount words, characters, sentences and paragraphs as you type, with reading time.
- TextAdd Line NumbersAdd line numbers to text or code, or take them off again, with your own start, step, separator and padding.
- TextEmail and Link ExtractorPull every email address, link, phone number, number, hashtag or @mention out of any text.
- TextFind and ReplaceFind words or patterns in your text, see every match highlighted, and replace them all at once.
- TextHTML to MarkdownTurn HTML into clean Markdown, with headings, links, images, nested lists, code and tables.