PKH Converter

Extract text from Oracle package headers (PKH)


Drop or upload your .PKH file

How to extract text from your PKH file

  1. Click the "Select File" button above, and choose your PKH file.
  2. You’ll see a preview, if available.
  3. Click the "Convert file to..." button to extract text information.

Convert PKH to another file type

To convert PKH package headers to another format, you need Oracle SQL Developer or other Developer software.

Convert a file to PKH

To convert other file formats to the "Database Script" file type, you need software like Oracle SQL Developer or a similar tool.


About PKH files

A .PKH file is an Oracle Package Header file used in database development. It contains the PL/SQL specification, declaring public types, variables, constants, exceptions, cursors, and subprograms (functions and procedures) without revealing their underlying code. These files are typically opened and managed using specialized database IDEs like Oracle SQL Developer, Toad for Oracle, or PL/SQL Developer.

The primary disadvantage of the .PKH format is its highly specific use case. To non-developers, it appears as an unrecognized system file. Furthermore, the file only contains the 'header' or interface; the actual executable code is stored separately in a corresponding PKB (Package Body) file. Because it relies heavily on Oracle-specific syntax and uncommon file extensions, parsing it outside of a dedicated Oracle environment requires specialized tools.

Users often need to convert .PKH to standard SQL files for better compatibility across different database version control systems, or to TXT to read the code in standard text editors. Converting to PDF is also useful for code documentation and sharing with non-technical stakeholders. Because .PKH is tightly coupled with proprietary database workflows, standard document converters fail to process or render the code syntax correctly.

Convert.Guru analyzes your PKH file, detects the exact format, and lets you read the text inside.


FAQ

If you want to convert PKH file to CSV, JSON, XML, YAML, YML, TOML, INI, CFG, CONF, DAT, DB or SQL, you can use Oracle SQL Developer or similar software from the "PL/SQL Package Header Storage" category. In the File menu, look for Save As… or Export….

To convert DBF, XML, SQLITE, XLSX, SQL, TSV, ACCDB, YAML, MDB, CSV, ODS or JSON files to PKH, try Oracle SQL Developer or another comparable tool in the "PL/SQL Package Header Storage" category.



The PKH Converter Story

The history of Convert.Guru began over 25 years ago in California with Tom Simondi’s file-format database. A former contributor to Space Shuttle development and a software pioneer of the 1980s, Simondi established a trusted resource for file type analysis that was even referenced by Microsoft Windows XP. Today, we use modern technology to process and convert thousands of file formats while continually improving our PKH converter.