What this translator does
Translation is the whole journey: DNA → mRNA → protein. Paste a DNA or RNA sequence above and the translator silently converts T to U, splits the message into codons, and reads every amino acid off the standard genetic code. You get the protein as a one-letter string (MPK*) or in three-letter form (Met-Pro-Lys-Stop), with stop positions flagged.
Reading frames
The genetic code has no commas — where you start reading decides every triplet after. The frame selector shifts the start by one or two bases:
ATG GCC TAAin frame 1 → Met-Ala-Stop ✓ the intended protein- The same sequence in frame 2 starts at
TGG→ Trp… a completely different protein - In frame 3 it starts at
GGC→ Gly… different again
In real genes the start codon AUG fixes the frame; everything before it is untranslated. When you're handed a bare sequence, check all three frames — the one with a long stretch before a stop codon is usually the gene.
Worked example
DNA: ATG TTT GGT TAA
- mRNA (T→U):
AUG UUU GGU UAA - Codons read off the codon chart: AUG = Met (start), UUU = Phe, GGU = Gly, UAA = Stop
- Protein: Met-Phe-Gly — translation ends at the stop
Try it above, then switch styles to see the one-letter form MFG*. Spaces, numbers, and FASTA headers are ignored; everything runs in your browser.