My workflow is to import a page into Illustrator, delete the very first node/object (seems to be some anchor for the top left corner of the page), and crop the artboard to its contents. It’s usually quite quick and easy, and you can export to your preferred format (or required format for your application). I suppose you can do the same with different vector-editing applications.