Exporting list of tags

The number of tags in my database has grown very large, and is getting hard to navigate. When assigning tags to new items it would be better to have an external list of existing tags. As it would take some time to manually create such a list, and keep it updated, I’m wondering if there is a function or script to export such a list automatically?

See
viewtopic.php?f=20&t=15892#p73612

Very nice, thank you!

Is it possible to modify it to exclude document names, and so only list tag names?

Yes.

viewtopic.php?f=20&t=15892#p73612

Thank you!