This plugin defines a set of TextGrid utilities:
Install using CPrAN:
cpran install tgutils
You can download an archive of the latest version for manual installation, but you’ll have to also manually install the dependencies yourself. You can manually install the plugin just like any other Praat plugin.