Heading note output

I’m not good at finding plug-ins because I’m English beginner.
I’m looking for a plugin that converts Headings and outputs them as new notes.
I have a note with over 1000 headings. It’s earnest wish.

That already exists?

-----Simple example-----
note.md

A Heading1

A Heading2

A Heading3

B Heading1

B Heading2

B Heading3

▼output▼

A Heading1.md

A Heading2

A Heading3

B Heading1.md

B Heading2

B Heading3