Click the "Select File" button above, and choose your PKB file.
You’ll see a preview, if available.
Click the "Convert file to..." button to extract text information.
Convert PKB to another file type
To convert your PKB file to another format, you need Oracle Database or other Database software.
Convert a file to PKB
To convert other file formats to the "PL/SQL Source Code" file type, you need software like Oracle Database or a similar tool.
About PKB files
A .pkb file is primarily an Oracle PL/SQL Package Body file. It contains the actual source code logic (procedures and functions) defined in a corresponding package specification (PKS). Developers typically encounter these files when managing database schemas or reviewing legacy code.
The main limitation is that .pkb files are not associated with standard text editors by default on Windows or macOS. Double-clicking often leads to an "unknown file type" error, even though the content is usually plain text. Additionally, some .pkb files are "wrapped" (encrypted) using the Oracle wrap utility, making them unreadable binary gibberish unless loaded into a database. Users often need to convert these files to SQL scripts for easier execution in tools like SQL Developer, or to TXT and PDF for documentation and code review purposes.
Best Conversion Targets:
For Database Execution: Convert/Rename to SQL. This allows immediate execution in standard query tools.
For Code Review: Convert to TXT or view directly in a code editor like Notepad++.
For Documentation: Convert to PDF to archive the schema logic in a non-editable format.
For SMAX Users: If the file is from Micro Focus SMAX, it is actually a compressed archive. Rename to ZIP to extract and view the internal JSON/XML data.
Convert.Guru analyzes your PKB file, detects the exact format, and lets you read the text inside.
If you want to convert PKB file to KB, PKA, PH, POH, CSV, JSON, XML, YAML, YML, TOML, INI or CFG, you can use Oracle Database or similar software from the "Oracle PL/SQL Package Body" 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 PKB, try Oracle Database or another comparable tool in the "Oracle PL/SQL Package Body" category.
The PKB 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 PKB converter.