Toolvito

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

Paste a sequence in one-letter or three-letter codes. Choose what to write it as.

Your values

One-letter codes such as DRVYIHPF, or three-letter codes such as Asp-Arg-Val. Spaces, numbers and a FASTA title line (">...") are left out.

More options

Find out from the text reads Asp-Arg-Val, Asp Arg Val or AspArgVal as three-letter codes and everything else as one-letter codes.

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.

How to use this converter

  1. 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.
  2. 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.
  3. To go from names to codes, choose Full names to codes and type the names, such as alanine, glycine, serine.
  4. 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.

One-letter and three-letter codes
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 Val or AspArgVal as 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 XXXX or Asx-Glx, is converted too.
  • In three-letter codes a group that is not a code, such as Abc, stops the conversion with a message. Unk is read as Xaa.
  • A stop (* or Ter) 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.

Related tools