One-to-three converter icon

One-to-three converter

(v1.1.0)Docs

Convert one-letter amino acid sequences to three-letter codes with customizable formatting.

Input

Output

Configure inputs to begin

Set options on the left, then click “Convert”.

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:

Text
Input
MKWV

Output
Met-Lys-Trp-Val

FASTA headers are retained by default. This multi-record example uses an uppercase, space-delimited output:

Text
Input
>hemoglobin_fragment
MVLSP
>signal_peptide
MKWV

Output
>hemoglobin_fragment
MET VAL LEU SER PRO
>signal_peptide
MET LYS TRP VAL

Spaces, 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:

Text
Input
1 MK WV 4
5 Y 5

Output
Met-Lys-Trp-Val-Tyr

Input

InputWhat to provide
Protein sequence inputA 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

SettingOptions and behavior
Output caseSets 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 delimiterSeparates consecutive residue codes with Hyphen (-) by default. Choose Space, Comma (,), No delimiter, or Custom... to use another separator.
Custom delimiterThe 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 formatOn 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 lineWraps 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 numbersAdds 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 styleAvailable 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 acidsSets 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 positionSets 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:

Text
Input
MKWVYARN

Output
   42 Met-Lys-Trp-Val-Tyr 46
   47 Ala-Arg-Asn 49

Results

ResultDescription
Converted textThe 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 summaryReports sequence count, residue positions and the count of any characters replaced with Unk. Numbering and wrapping reset for every record.
run.logDownloadable 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 acidOne-letterThree-letter
AlanineAAla
ArginineRArg
AsparagineNAsn
Aspartic acidDAsp
CysteineCCys
Glutamic acidEGlu
GlutamineQGln
GlycineGGly
HistidineHHis
IsoleucineIIle
LeucineLLeu
LysineKLys
MethionineMMet
PhenylalanineFPhe
ProlinePPro
SerineSSer
ThreonineTThr
TryptophanWTrp
TyrosineYTyr
ValineVVal
SelenocysteineUSec
PyrrolysineOPyl
Asparagine or aspartic acidBAsx
Glutamine or glutamic acidZGlx
Leucine or isoleucineJXle
Unknown amino acidXXaa

Which protein sequence converter should I use?

Starting point or goalTool to useWhy
One-letter protein sequence to readable residue abbreviationsOne-to-three converterChanges MKWV into Met-Lys-Trp-Val and provides delimiter, case, wrapping, and numbering controls.
Three-letter residue names to a compact protein sequenceThree-to-one converterConverts codes such as Ala-Arg-Asn into ARN.
Protein sequence to a possible coding nucleotide sequenceProtein to DNA converterPerforms reverse translation and lets you select codon usage and output type.
Protein sequence containing gaps, stop markers, or other unwanted charactersProtein sequence filterRemoves unwanted characters before this converter replaces them with Unk.
Plain sequence text that needs FASTA headersTXT to FASTA converterCreates or preserves FASTA records from raw sequence text.
A CSV or TSV table with names and sequencesCSV to FASTA converterSelects the sequence and identifier columns before conversion.
FASTQ with quality scoresFASTQ to FASTA converterSeparates sequence data from quality scores.
Protein sequence in a PDB structurePDB to FASTA converterExtracts residue sequences from structure records.
An annotated sequence file or alignmentFASTA converterExtracts 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.

Table of contents

Related tools

CSV to FASTA

CSV to FASTA

Convert CSV or TSV sequence tables to FASTA with automatic delimiter detection and column mapping.

FASTA converter

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

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

PDB to FASTA converter

Extract observed or full SEQRES sequences from PDB structures with chain selection and RCSB fetching.

Three-to-one converter

Three-to-one converter

Convert three-letter amino acid codes (Ala, Arg) to single-letter format (A, R)

TXT to FASTA converter

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

DNA to Protein Converter

Translate DNA sequences into proteins across reading frames and genetic code tables.

PDB to CIF Converter

PDB to CIF Converter

Convert PDB coordinates to mmCIF with model selection and warnings for omitted records.

PDB to MOL2 Converter

PDB to MOL2 Converter

Convert PDB structures up to 20,000 atoms with Open Babel and clear chemistry caveats.

Protein to DNA converter

Protein to DNA converter

Reverse translate protein sequences into DNA with codon optimization and GC-content controls.