PDB_TO_XYZ is an executable program, written in FORTRAN90, using double precision arithmetic, which reads a PDB file, and, for each ATOM record in the file, extracts the atomic spatial coordinates and writes them to an XYZ file.
PDB is a data directory which contains a description and examples of the PDB format.
PDB_EXTRACT is an executable FORTRAN90 program which can extract certain records from a PDB file.
PDB_READ is an executable FORTRAN90 program which can read the information in a PDB file.
XYZ is a data directory which contains a description and examples of the XYZ format.
XYZ_TO_PDB is an executable FORTRAN90 program which reads a set of XYZ spatial coordinates, and rewrites them as ATOM records in a PDB file.
TINY is a sample PDB file with 12 atoms.
MONOMER is a sample PDB file with 888 atoms.
You can go up one level to the FORTRAN90 source codes.