Skip to content
100% local

Codon translator

Translate a DNA or RNA sequence into amino acids, or a protein back into codons.

Input
Output

Standard genetic code table

CodonAmino acid (1-letter)Amino acid (3-letter)
TTTFPhe
TTCFPhe
TTALLeu
TTGLLeu
CTTLLeu
CTCLLeu
CTALLeu
CTGLLeu
ATTIIle
ATCIIle
ATAIIle
ATGMMet
GTTVVal
GTCVVal
GTAVVal
GTGVVal
TCTSSer
TCCSSer
TCASSer
TCGSSer
CCTPPro
CCCPPro
CCAPPro
CCGPPro
ACTTThr
ACCTThr
ACATThr
ACGTThr
GCTAAla
GCCAAla
GCAAAla
GCGAAla
TATYTyr
TACYTyr
TAA*Stop
TAG*Stop
CATHHis
CACHHis
CAAQGln
CAGQGln
AATNAsn
AACNAsn
AAAKLys
AAGKLys
GATDAsp
GACDAsp
GAAEGlu
GAGEGlu
TGTCCys
TGCCCys
TGA*Stop
TGGWTrp
CGTRArg
CGCRArg
CGARArg
CGGRArg
AGTSSer
AGCSSer
AGARArg
AGGRArg
GGTGGly
GGCGGly
GGAGGly
GGGGGly

Codon translator

Paste a DNA or RNA sequence and this tool translates it into amino acids using the standard genetic code — the codon wheel biology students memorize. Every codon of three nucleotides maps to one amino acid, and the whole sequence is translated live as you type. It also works the other way: give it a protein and it reverse-translates each amino acid back into a representative codon.

Direction switches between "DNA/RNA → amino acids" and "amino acids → DNA/RNA"; swapping it moves the current output into the input so you can check a round trip. Molecule chooses DNA (T) or RNA (U), so a sequence copied from a genome browser or an mRNA needs no manual editing first. Notation picks the three-letter form (Met-Ala-Lys-Stop) used in textbooks or the compact one-letter form (MAK*) used in FASTA files. Turn off "Validate sequence format" to ignore stray characters — line numbers, spaces, a pasted header — instead of rejecting them, and turn on batch mode to translate several sequences at once, one per line.

A sequence is accepted only when it uses the letters for the selected molecule and its length is a multiple of three; otherwise the tool explains what to check. Because most amino acids have more than one codon, reverse-translating a protein returns one valid codon per amino acid rather than an original sequence — the reference table below lists every codon this tool recognizes. The live count under the output tracks nucleotides in, amino acids out, and sequences processed in batch mode.

Everything runs locally in your browser — sequences are never uploaded, which matters for unpublished data as much as for coursework. Copy the translation, download it as a .txt file, or send the output back into the input to try the reverse direction.

FAQ

Which genetic code does the translator use?
The standard genetic code (NCBI translation table 1), the table shared by the nuclear genomes of most organisms.
What happens if a sequence's length isn't a multiple of three?
With format validation on, it's reported as invalid. Turn validation off and the incomplete trailing bases are ignored instead.
Can I convert a protein sequence back into DNA or RNA?
Yes — set Direction to "Amino acids → DNA/RNA". Since most amino acids have several possible codons, the tool returns one representative codon per amino acid rather than an original sequence.
How do I translate more than one sequence at a time?
Turn on batch mode and put one sequence per line. Each line is translated separately and the results come back in the same order.
Is my sequence uploaded anywhere?
No. Translation runs entirely in your browser — your sequence never leaves your device.