UML diagrams and models (.uml files) can be exported as PDF documents (.pdf files) for sharing or publishing purposes, which is more or less what uml to pdf conversion.
This can be typically done with some kind of UML tool, such as Visual UML. Just keep in mind that when exported as PDF, the file will no longer be useable as UML format for import.