Protein PDB and mmCIF Structure Viewer

Open a .pdb or .cif file from the Protein Data Bank, AlphaFold or your own modelling and turn it in 3D as a cartoon, tube, ribbon, ball-and-stick, spacefill or line model. Colour by chain, secondary structure, rainbow, B-factor, element or residue class, select residues, measure distances and angles, and save PNG, a PDB subset or FASTA.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Open a file

    Drop a .pdb, .ent or .cif file, or paste its text.

  2. 2
    Choose a style

    Pick cartoon, tube, ribbon, ball and stick, spacefill or lines.

  3. 3
    Colour it

    Colour by chain, secondary structure, rainbow, B-factor, element or residue class.

  4. 4
    Select residues

    Type ranges such as A:10-50 to highlight them and show side chains; hide chains, ligands or water.

  5. 5
    Measure

    Enter two or three atoms to get distances and angles drawn as yellow lines.

  6. 6
    Export

    Save a PNG of the view, a PDB subset or FASTA sequences.

About this tool

Protein and nucleic acid structures are shared in two text formats. The older PDB format has fixed columns for each atom; the newer PDBx/mmCIF format, used by the Protein Data Bank for all entries since 2019 and by AlphaFold, stores the same atoms in tables. This viewer reads both in the browser and draws a WebGL model you can rotate with a finger or mouse. The cartoon style traces the backbone through the alpha carbons (or phosphates for DNA and RNA) with a smooth spline and widens it into flat ribbons where the file marks helices and strands. Tube, ribbon, ball-and-stick, spacefill and line styles are one tap away, ligands and waters can be shown or hidden, and hydrogens are off by default. Colouring by chain shows how subunits fit together, rainbow runs from blue at the N terminus to red at the C terminus, and the B-factor colour shows the temperature factor column, which in AlphaFold models holds the per-residue confidence score. Type a residue selection such as A:45-60 to highlight it in orange and show its side chains, measure the distance between two atoms or the angle at a middle atom, and read each chain's sequence in one-letter code.

What is read

ATOM and HETATM records with alternate locations (the first is kept), HELIX and SHEET records, the title, ID and method; for mmCIF the atom_site, struct_conf and struct_sheet_range tables, with author chain and residue numbers. Only the first model of NMR ensembles is drawn. Bonds are worked out from distances and covalent radii, which is how most viewers handle files without CONECT records; metals are left unbonded.

Styles and size

A 3,000-atom protein draws instantly; structures with more than 6,000 atoms use lighter spheres and fewer spline points so that phones stay smooth. Spacefill of a very large complex can still be slow on older devices.

Exports

PNG of the current view, a PDB file with only the shown chains or the selected residues, and FASTA of the chains you show.

Limits

Secondary structure is not computed: if a file has no helix or sheet records the cartoon stays a coil. Surfaces, electron density maps, hydrogen bond networks and docking are not part of this tool. It is a viewer for teaching and quick checks, not a refinement or validation program.

Worked example

A student opens 1UBQ (ubiquitin, 76 residues, 602 protein atoms and 58 waters). The cartoon shows one alpha helix from residue 23 to 34 and a five-stranded sheet. With rainbow colour the N terminus is blue and the C-terminal tail is red. She types A:48 to highlight lysine 48, the residue used for chain linking, and its side chain appears in orange. Measuring A:48:NZ to A:63:NZ adds a yellow line and lists the distance in ångströms, which shows how far apart the two linkage lysines sit on the surface. She exports a PNG for her poster and a FASTA beginning MQIFVKTLTG.

Quick facts

Frequently asked questions

Where do I get PDB or mmCIF files?

From rcsb.org, pdbe.org or pdbj.org (search an ID and download PDB format or PDBx/mmCIF), from the AlphaFold database, or from programs such as PyMOL, ChimeraX and Rosetta that save PDB files.

Why is my cartoon a thin tube without helices?

The file has no secondary structure records. Many models from docking or simple modelling tools leave them out. Programs such as DSSP can add them; the viewer then draws helices and strands.

What does the B-factor colour mean for an AlphaFold model?

AlphaFold writes its per-residue confidence (pLDDT, 0 to 100) into the B-factor column. With this colour scheme, red marks high values and blue low values, so in AlphaFold files red means more confident.

How do I name atoms for measuring?

Use chain, residue number and atom name, for example A:45:CA or B:102:OG. The atom names are those in the file. Two atoms give a distance in ångströms; three give the angle at the middle atom in degrees.

Can it open very large structures like a ribosome?

It can read them, and cartoon or tube styles usually stay usable. Ball-and-stick or spacefill of 100,000 or more atoms needs a lot of graphics memory, so hide chains you do not need first.

Is my file uploaded?

No. The text is read in your browser and the 3D model is drawn on your device with WebGL.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages