Click the "Select File" button above, and choose your PHAR file.
You’ll see a preview, if available.
Click the "Convert file to..." button to extract text information.
Convert PHAR to another file type
To convert your PHAR file to another format, you need PHP or other Developer software.
Convert a file to PHAR
To convert other file formats to the "Application Archive" file type, you need software like PHP or a similar tool.
About PHAR files
A .phar file is a PHP Archive, a format akin to Java's JAR, designed to bundle entire PHP applications, libraries, and resources into a single executable file. While efficient for distribution, this format acts as a "black box," preventing users from easily inspecting the internal PHP source code or modifying configuration files. This is a common frustration for server administrators managing PocketMine-MP plugins or developers debugging Composer packages. Because .phar files often use custom binary headers or internal GZIP compression, simply renaming the extension to ZIP usually fails. To view, edit, or reverse-engineer the contents, users must convert the archive into a standard ZIP file or extract it to a raw folder. For editing game plugins, the workflow typically involves converting PHAR to ZIP, modifying the scripts, and repacking.
Convert.Guru analyzes your PHAR file, detects the exact format, and lets you read the text inside.
If you want to convert PHAR file to ZIP, EXE, MSI, APP, DMG, DEB, RPM, PKG, RUN, SH, BAT or CMD, you can use PHP or similar software from the "PHP Application Packaging" category. In the File menu, look for Save As… or Export….
To convert JAR, APP, SCR, IPA, COM, AAB, PS1, DMG, VBS, EXE, XAPK or MSI files to PHAR, try PHP or another comparable tool in the "PHP Application Packaging" category.
The PHAR 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 PHAR converter.