Works on this device
Amino Acid Code Converter
Convert an amino acid sequence from one-letter codes, such as DRVYIHPF, to three-letter codes, such as Asp-Arg-Val-Tyr-Ile-His-Pro-Phe, or back. You can also write it as full names, or turn a list of names into codes.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Convert.
Your result
How it was worked out
How to use this converter
- Paste the sequence. The tool finds out whether it is in one-letter or three-letter codes. A FASTA file with a title line also works.
- Choose what to convert it to: three-letter codes, one-letter codes or full names. For three-letter codes, choose what goes between the codes (a hyphen, a space or nothing) and the capital letters. For one-letter codes, choose one line or lines of 60 letters.
- To go from names to codes, choose Full names to codes and type the names, such as
alanine, glycine, serine. - The result appears as you type. Copy it, download it as a text file, or download the table of every residue as a CSV file.
The codes
Every standard amino acid has a one-letter code and a three-letter code, set by IUPAC and IUBMB. The three-letter code is usually the first three letters of the name. The one-letter code is often the first letter, but not always: for example K is lysine and W is tryptophan.
| Name | Three-letter code | One-letter code |
|---|---|---|
| Alanine | Ala | A |
| Arginine | Arg | R |
| Asparagine | Asn | N |
| Aspartic acid | Asp | D |
| Cysteine | Cys | C |
| Glutamine | Gln | Q |
| Glutamic acid | Glu | E |
| Glycine | Gly | G |
| Histidine | His | H |
| Isoleucine | Ile | I |
| Leucine | Leu | L |
| Lysine | Lys | K |
| Methionine | Met | M |
| Phenylalanine | Phe | F |
| Proline | Pro | P |
| Serine | Ser | S |
| Threonine | Thr | T |
| Tryptophan | Trp | W |
| Tyrosine | Tyr | Y |
| Valine | Val | V |
| Selenocysteine | Sec | U |
| Pyrrolysine | Pyl | O |
| Asparagine or aspartic acid | Asx | B |
| Glutamine or glutamic acid | Glx | Z |
| Leucine or isoleucine | Xle | J |
| Any or unknown amino acid | Xaa (also Unk) | X |
| Stop | Ter | * |
Reading rules
- Spaces, line breaks, digits, hyphens, full stops, commas and a first FASTA title line (starting with ">") are left out.
- "Find out from the text" reads
Asp-Arg-Val,Asp Arg ValorAspArgValas three-letter codes, and everything else as one-letter codes. Under More options you can say which codes the text uses. - B, Z, J and X stand for a residue that is not clear, and U and O for selenocysteine and pyrrolysine. They are not one of the 20 standard amino acids, but they have codes of their own, so the converter keeps them and lists where they are. A sequence made only of such codes, such as
XXXXorAsx-Glx, is converted too. - In three-letter codes a group that is not a code, such as
Abc, stops the conversion with a message.Unkis read as Xaa. - A stop (
*orTer) is allowed only at the very end, and it is kept as a stop.
Worked example
Angiotensin II in one-letter codes is DRVYIHPF. In three-letter codes with hyphens it is Asp-Arg-Val-Tyr-Ile-His-Pro-Phe, and in full names: Aspartic acid, Arginine, Valine, Tyrosine, Isoleucine, Histidine, Proline, Phenylalanine.
Asp-Arg-Asx-Sec-Unk-Ter converted to one-letter codes gives DRBUX*: B, U and X are kept, and the stop at the end is written as *.
Limits you should know
- This tool converts codes and names only. It does not translate DNA or RNA into amino acids, or amino acids back into DNA.
- Modified residues (such as phosphoserine) have no standard one-letter code and are not read.
- One sequence at a time, up to 50,000 residues. Codes that are not one of the 20 standard amino acids count too.
- For the mass of the sequence, use the Peptide Mass Calculator. To count each amino acid, use the Amino Acid Percentage Calculator.