
One-to-three converter
Convert one-letter amino acid sequences to three-letter codes with customizable formatting.
Input
How to convert one-letter amino acid codes to three-letter codes
Paste a one-letter protein sequence, or upload a text, FASTA, Word or PDF file. MKWV becomes Met-Lys-Trp-Val with the default title case and hyphen delimiter. Conversion runs in the browser and returns copyable text and a downloadable .txt file. FASTA headers are retained by default.
For a short sequence, leave the default title case and hyphen delimiter selected:
Input
MKWV
Output
Met-Lys-Trp-ValFASTA headers are retained by default. This multi-record example uses an uppercase, space-delimited output:
Input
>hemoglobin_fragment
MVLSP
>signal_peptide
MKWV
Output
>hemoglobin_fragment
MET VAL LEU SER PRO
>signal_peptide
MET LYS TRP VALSpaces, wrapped lines and position numbers at the ends of sequence lines are formatting rather than residues. This pasted fragment produces the same five residues as MKWVY:
Input
1 MK WV 4
5 Y 5
Output
Met-Lys-Trp-Val-TyrInput
| Input | What to provide |
|---|---|
Protein sequence input | A one-letter protein sequence, either as raw text or FASTA records. Supports .txt, .fasta, .fa, .fas, .seq, .docx and .pdf uploads, up to 50 MB each. Text is extracted from Word and PDF documents; scanned images without text cannot supply a sequence. |
Uppercase and lowercase input are accepted. The recognized alphabet includes the 20 standard residues, selenocysteine (U), pyrrolysine (O), ambiguous residues (B, Z, J) and an unknown residue (X). For example, BZXJOU becomes Asx-Glx-Xaa-Xle-Pyl-Sec, using the INSDC amino acid abbreviations.
Whitespace, invisible document characters and leading list bullets are removed from sequence lines. Position numbers separated from residues by whitespace, including number-only rulers, are removed. Other characters, including alignment gaps (-, .) and stop markers (*), retain the earlier behavior: each becomes Unk, UNK or unk. The preview summary reports replacements; the run log records formatting cleanup and the warning.
Only a > header separates records. Header-free lines are joined into one sequence, so put names such as GFP on FASTA headers. A name made entirely of amino acid letters cannot be distinguished from a sequence. Tables, name:sequence rows, annotated sequence files, structure files and FASTQ input need conversion to protein FASTA first.
When Preserve FASTA format is on, headers remain exactly as submitted and wrapped sequence lines are collected under each header. Turning it off removes headers while keeping each record on separate output lines. It never converts names into residues. Existing empty FASTA records retain their headers when enabled, but an input containing no residue positions returns an error.
Settings
| Setting | Options and behavior |
|---|---|
Output case | Sets the capitalization of each three-letter code. Title case (Ala, Arg, Asn) is the default. Uppercase (ALA, ARG, ASN) and Lowercase (ala, arg, asn) change residue codes, including Unk. |
Output delimiter | Separates consecutive residue codes with Hyphen (-) by default. Choose Space, Comma (,), No delimiter, or Custom... to use another separator. |
Custom delimiter | The character or text inserted between codes when Output delimiter is Custom.... Its default is _. This setting appears only for the custom delimiter choice. |
Preserve FASTA format | On by default. Keeps each FASTA header exactly as submitted and converts the sequence below it. Turning it off omits headers while preserving record boundaries. |
Amino acids per line | Wraps output after the selected number of amino acids. 0 is the default and keeps an unnumbered sequence on one line. The accepted range is 0 to 100. |
Show position numbers | Adds residue positions to formatted lines. Off by default. With numbering enabled, each formatted block contains the number of residues selected by Number every N amino acids. |
Numbering style | Available when position numbers are shown. Above sequence prints the block end position above its sequence line. At line end appends the end position. Start and end is the default and prints both positions on the sequence line. |
Number every N amino acids | Sets the size of numbered blocks, from 5 to 100 residues. The default is 10. This controls numbered formatting even if Amino acids per line has another value. |
Starting position | Sets the first residue position for a fragment. The default is 1. It is applied independently to each FASTA record. |
Position-number example
For a fragment beginning at residue 42, select Show position numbers, Start and end, and Number every N amino acids set to 5:
Input
MKWVYARN
Output
42 Met-Lys-Trp-Val-Tyr 46
47 Ala-Arg-Asn 49Results
| Result | Description |
|---|---|
| Converted text | The primary result contains the formatted three-letter sequence or FASTA records. It can be copied from the preview or downloaded as a .txt file. Uploaded files retain their basename, while pasted input downloads as converted.txt. |
| Preview summary | Reports sequence count, residue positions and the count of any characters replaced with Unk. Numbering and wrapping reset for every record. |
run.log | Downloadable from Files and shown in Logs. Records mapping, sequence and residue counts, formatting cleanup, replacements, case, wrapping and numbering. It contains no sequence text or header names. |
Preview opens first, followed by Files and Logs. Check any replacement notice in the preview summary before using the converted text. Unk is a replacement for unsupported input, whereas Xaa represents an explicit X in the original sequence.
One-letter and three-letter amino acid codes
The one-letter notation is compact enough for sequence databases, alignments, and FASTA files. Three-letter notation is often easier to read in teaching materials, mutation reports, structure annotations, and residue lists. This converter changes notation only. It does not translate DNA or RNA, infer codons, or modify the residue order.
| Amino acid | One-letter | Three-letter |
|---|---|---|
| Alanine | A | Ala |
| Arginine | R | Arg |
| Asparagine | N | Asn |
| Aspartic acid | D | Asp |
| Cysteine | C | Cys |
| Glutamic acid | E | Glu |
| Glutamine | Q | Gln |
| Glycine | G | Gly |
| Histidine | H | His |
| Isoleucine | I | Ile |
| Leucine | L | Leu |
| Lysine | K | Lys |
| Methionine | M | Met |
| Phenylalanine | F | Phe |
| Proline | P | Pro |
| Serine | S | Ser |
| Threonine | T | Thr |
| Tryptophan | W | Trp |
| Tyrosine | Y | Tyr |
| Valine | V | Val |
| Selenocysteine | U | Sec |
| Pyrrolysine | O | Pyl |
| Asparagine or aspartic acid | B | Asx |
| Glutamine or glutamic acid | Z | Glx |
| Leucine or isoleucine | J | Xle |
| Unknown amino acid | X | Xaa |
Which protein sequence converter should I use?
| Starting point or goal | Tool to use | Why |
|---|---|---|
| One-letter protein sequence to readable residue abbreviations | One-to-three converter | Changes MKWV into Met-Lys-Trp-Val and provides delimiter, case, wrapping, and numbering controls. |
| Three-letter residue names to a compact protein sequence | Three-to-one converter | Converts codes such as Ala-Arg-Asn into ARN. |
| Protein sequence to a possible coding nucleotide sequence | Protein to DNA converter | Performs reverse translation and lets you select codon usage and output type. |
| Protein sequence containing gaps, stop markers, or other unwanted characters | Protein sequence filter | Removes unwanted characters before this converter replaces them with Unk. |
| Plain sequence text that needs FASTA headers | TXT to FASTA converter | Creates or preserves FASTA records from raw sequence text. |
| A CSV or TSV table with names and sequences | CSV to FASTA converter | Selects the sequence and identifier columns before conversion. |
| FASTQ with quality scores | FASTQ to FASTA converter | Separates sequence data from quality scores. |
| Protein sequence in a PDB structure | PDB to FASTA converter | Extracts residue sequences from structure records. |
| An annotated sequence file or alignment | FASTA converter | Extracts sequences from supported file formats. |
FAQ
How do I convert an amino acid sequence from one-letter to three-letter code?
Paste the one-letter sequence, choose the delimiter and capitalization, then run the converter. With the defaults, ARND becomes Ala-Arg-Asn-Asp.
Can I convert a FASTA file from one-letter to three-letter amino acid codes?
Yes. Upload a supported text or FASTA file and leave Preserve FASTA format enabled. Header lines are retained, and every sequence record is converted separately.
What does the amino acid code X mean?
X denotes an unknown or unspecified amino acid. The converter renders it as Xaa, while B becomes Asx and Z becomes Glx for ambiguous acidic or amide residues.
What does J mean in an amino acid sequence?
J denotes leucine or isoleucine and converts to Xle. It remains an ambiguous residue rather than choosing either Leu or Ile.
Why does my output contain Unk?
An unsupported character was replaced. Gaps, stop markers and punctuation become Unk, and the result warning reports their count. Whitespace and position numbers at line ends do not create residues.
Can I remove separators between three-letter amino acid codes?
Yes. Set Output delimiter to No delimiter. For example, MKWV becomes MetLysTrpVal.
Related tools
CSV to FASTA
Convert CSV or TSV sequence tables to FASTA with automatic delimiter detection and column mapping.
FASTA converter
Paste or upload a sequence file in any common format and download FASTA. The format is detected automatically, and nothing leaves your browser.
FASTA to CSV converter
Paste or upload FASTA and download a CSV or TSV table for spreadsheets, or a plain text file with one sequence per line.
PDB to FASTA converter
Extract observed or full SEQRES sequences from PDB structures with chain selection and RCSB fetching.
Three-to-one converter
Convert three-letter amino acid codes (Ala, Arg) to single-letter format (A, R)
TXT to FASTA converter
Paste or upload DNA, RNA, or protein text and download FASTA. Sequence names, wrapped lines, and tables are detected automatically, and nothing leaves your browser.
DNA to Protein Converter
Translate DNA sequences into proteins across reading frames and genetic code tables.
PDB to CIF Converter
Convert PDB coordinates to mmCIF with model selection and warnings for omitted records.
PDB to MOL2 Converter
Convert PDB structures up to 20,000 atoms with Open Babel and clear chemistry caveats.
Protein to DNA converter
Reverse translate protein sequences into DNA with codon optimization and GC-content controls.