DNA to mRNA Converter
Transcribes a DNA sequence into messenger RNA and translates it into protein using the standard genetic code. Say whether you typed the template or the coding strand and in which direction (5'→3' or 3'→5'), or go the other way and turn an mRNA into its DNA strands. The converter shows the mRNA split into codons, both DNA strands, the tRNA anticodons, the amino acid chain in three-letter and one-letter code, the stop codon and a codon-by-codon translation table.
- The standard genetic code (NCBI translation table 1) applies.
- Only A, C, G and T (DNA) or A, C, G and U (mRNA) are accepted; whitespace is ignored and any other character makes the input invalid.
- The sequence is translated exactly as given: no splicing of introns, no RNA editing and no alternative start codons.
- Sequences up to 10,000 bases are accepted; the codon table shows the first 300 codons.
Formula
Template strand (3'→5') → mRNA (5'→3'): A→U, T→A, C→G, G→C. Coding strand (5'→3') → mRNA: replace T with U. mRNA → protein: read codons of 3 bases from 5' to 3' and look each up in the standard genetic code
- RNA polymerase reads the template strand 3' → 5' and builds the mRNA 5' → 3', pairing each DNA base with its RNA partner (uracil instead of thymine opposite adenine).
- A template strand typed 5' → 3' is complemented and then reversed. A coding strand already has the mRNA sequence, so only T changes to U (reversed first if typed 3' → 5').
- With the default settings (template strand, 3' → 5'), the conversion is a straight base-for-base complement.
- Translation uses the standard genetic code (NCBI table 1): 61 sense codons for 20 amino acids and three stop codons, UAA, UAG and UGA. AUG codes for methionine and is the usual start codon.
- By default reading starts at the first base and the protein ends at the first stop codon; you can instead start at the first AUG or mark stops with * and keep reading.
- tRNA anticodons are the complement of each codon, written 3' → 5' so they line up with the mRNA. Wobble pairing at the third codon position means real cells often use fewer distinct tRNAs.
Template strand 3'-TACCGGTTCATT-5'
Inputs
- Convert: dna
- DNA strand you are entering: template
- Written in direction: 3to5
- DNA sequence: TACCGGTTCATT
- Start translating at: first
- At a stop codon: stop
Pairing each template base gives mRNA 5'-AUG GCC AAG UAA-3'. AUG is methionine, GCC alanine and AAG lysine, and UAA is a stop codon, so the peptide is Met-Ala-Lys (MAK). The coding strand reads 5'-ATG GCC AAG TAA-3', identical to the mRNA except for T in place of U.
Sources & references
Frequently asked questions
Which DNA strand is transcribed into mRNA?
The template (antisense) strand. RNA polymerase reads it 3' → 5' and makes an mRNA that is complementary to it. The mRNA therefore has the same sequence as the other strand, the coding (sense) strand, except that U replaces T. Gene databases usually list the coding strand 5' → 3'.
Why does the direction (5' → 3' or 3' → 5') matter?
mRNA is always built and read 5' → 3'. If you type a template strand 5' → 3', its complement comes out 3' → 5' and has to be reversed before the codons can be read. Choosing the wrong direction gives a reversed mRNA and a completely different protein.
How do I convert mRNA into a protein sequence?
Split the mRNA into codons of three bases starting at the start codon (usually AUG), look each codon up in the genetic code and stop when you reach UAA, UAG or UGA. For example AUG GCC AAG UAA gives Met-Ala-Lys.
What is a tRNA anticodon?
A three-base loop on a transfer RNA that pairs with an mRNA codon and brings the matching amino acid. It is complementary to the codon and antiparallel, so the anticodon for 5'-AUG-3' is 3'-UAC-5'. Stop codons have no tRNA; release factors end translation instead.
Why does my protein look wrong?
Check that you picked the right strand and direction, that the sequence starts in the right reading frame (try starting at the first AUG), and that it has no introns. A genomic sequence from a eukaryote still contains introns that are spliced out of the real mRNA, so it should be translated from the cDNA or coding sequence instead.
Does every organism use the same genetic code?
Almost. This converter uses the standard code (NCBI table 1). Mitochondria and a few organisms use variants; for example, in vertebrate mitochondria UGA codes for tryptophan instead of stop.
Related calculators
Protein Molecular Weight Calculator Works out the molecular weight of a peptide or protein from its amino-acid sequence in one-letter code. It adds up the masses of the amino acids and removes one water molecule for every peptide bond, giving the result in daltons, kilodaltons and g/mol, as an average or monoisotopic mass. It also lists the amino-acid composition, the three-letter sequence and an estimated extinction coefficient at 280 nm. DNA Concentration Calculator Turns a UV spectrophotometer reading into a nucleic acid concentration. Enter the absorbance at 260 nm, the cuvette path length and any dilution factor, and pick double-stranded DNA (50 µg/mL per A₂₆₀), single-stranded DNA (33), RNA (40), your own conversion factor, or a custom oligonucleotide. For an oligo, paste its sequence and the calculator works out the molecular weight and the nearest-neighbour extinction coefficient, or type both values in. Optional A₂₈₀ and A₂₃₀ readings give the purity ratios, and a sample volume gives the total yield. DNA Copy Number Calculator Converts a DNA or RNA concentration into the number of template molecules per microlitre, or a mass of DNA into a total number of copies. Enter the concentration (or mass), the template length and whether the template is double-stranded DNA, single-stranded DNA or RNA; the calculator applies Avogadro's constant and the average mass per base pair. An optional dilution helper tells you how much stock and water to mix for a target copies/µL, and the PCR section estimates copies after a number of cycles, or the cycles needed to reach a target, at any amplification efficiency. Annealing Temperature Calculator Finds the optimal PCR annealing temperature with the Rychlik formula Ta = 0.3 × Tm(primer) + 0.7 × Tm(product) − 14.9. Enter the melting temperature of the less stable primer and of the PCR product in °C, °F or K, or paste both primer sequences and let the calculator work out each primer's Tm (nearest-neighbour, salt-adjusted or basic method) and the product Tm from its length and GC content at your salt concentration. It also flags primer pairs whose melting temperatures differ by more than 5 °C. Punnett Square Calculator Builds the 2 × 2 Punnett square for a single gene. Pick each parent's genotype (AA, Aa or aa) and the calculator lists the gametes, fills the grid, and gives the chance of every offspring genotype and phenotype with the genotypic and phenotypic ratios. It handles complete dominance and incomplete dominance or codominance, and shows how many offspring with the dominant trait are hidden carriers.