PYO PY
File conversion

Convert PYO to PY

QUICK ANSWER
Is it possible to convert PYO to PY?
Yes - PYO converts to PY.

.pyo cannot be decompiled perfectly (docstrings removed by -OO; variable names may differ), but decompyle3/uncompyle6/pycdc can recover most source code. Match the exact Python version that created the .pyo (read magic bytes to identify it) for best results.

Also to PY: KGL · UI · PYC

On this page

Tested on macOS, Windows & Linux
Last verified Oct 2026

More free converters

HEIC, PNG, WEBP, MP3 and more - every tool here is free.

Open the toolbox

How to convert PYO to PY

Converting a .PYO file to .PY lets you open the content in software that prefers the .PY format, though some details may change compared with the original. We are still putting together the list of programs that handle .PYO files.

A full step-by-step guide for this conversion is on the way; the information above is drawn straight from our database.

About these formats