PYC viewer
To open a PYC file, drop it in the box below. It opens straight away, even with no extension or the wrong one. Your browser opens it on your device: nothing is uploaded.
Open in
Opened on this device, never uploadedDrop or paste another file at any time
What you see
| PYC in the viewer | |
|---|---|
| Version | Python 1.5 to 3.15, from the magic number |
| Source | Its date and size, or a hash |
| Safety | Read from its headers only: nothing in it is run |
| Extensions | .pyc, .pyo |
| Upload | None: opened on your device |
What is a PYC file?
In short
A .pyc file is Python bytecode: a .py file compiled for one Python version, kept in __pycache__.
The Python version it was made for, from its magic number, and how it is checked against its source.
How to open a PYC file
- Add your PYC. Drop the file in the box, choose it or paste it.
- Look at it. The Python version it was made for, from its magic number, and how it is checked against its source.
- Take it further. Download any file from inside an archive, or open another file.
Questions
Drop it here: the magic number at its start names the version.
Yes. The viewer reads the file’s headers as data; the program never runs. Nothing is uploaded either.
No. The viewer runs in your browser and opens the file on your device. Nothing is sent anywhere.