Extract Headings
Identify and extract headings from text, including markdown headers, ALL CAPS lines, and title-case lines. Useful for generating tables of contents.
Example
Input
# Introduction Some text here. ## Methods More text. CONCLUSION Final words.
Output
Introduction Methods CONCLUSION
How Extract Headings Works
Identify and extract headings from text, including markdown headers, ALL CAPS lines, and title-case lines. Useful for generating tables of contents.
This tool runs entirely in your browser — no data is sent to any server. Paste your text, click Run, and get your result instantly. You can also chain this tool with others using the pipeline feature: run Extract Headings, then continue with a related tool to build a multi-step text workflow.
Related Tools
TextRefinery is a free, open-source text processing toolkit. Learn more about regular expressions and text processing on the web.