Free tool · Math and study
DNA to RNA converter
Paste a DNA strand and say whether it is the coding or the template strand. The tool writes the mRNA, the matching DNA strands and the codons, and reads the amino acids with the standard genetic code.
- Free
- No sign-up
- Runs in your browser
AUGGUGCACCUGACUCCUGAGUAA24 bases · 50.0% G+C
- 7 amino acids
- ends at a stop codon
- Coding strand, 5′ to 3′
- ATG GTG CAC CTG ACT CCT GAG TAA
- Template strand, 3′ to 5′
- TAC CAC GTG GAC TGA GGA CTC ATT
- mRNA in codons
- AUG GUG CAC CUG ACU CCU GAG UAA
- Protein
- Met-Val-His-Leu-Thr-Pro-Glu
- One-letter
- MVHLTPE
| # | Codon | Amino acid | Name |
|---|---|---|---|
| 1 | AUG | Met (start) | Methionine |
| 2 | GUG | Val | Valine |
| 3 | CAC | His | Histidine |
| 4 | CUG | Leu | Leucine |
| 5 | ACU | Thr | Threonine |
| 6 | CCU | Pro | Proline |
| 7 | GAG | Glu | Glutamic acid |
| 8 | UAA | Stop | Stop codon |
Working: mRNA copies the coding strand with U in place of T. The template strand is its complement: A pairs with T (U in RNA), and C with G. Codons are read three bases at a time with the Standard genetic code.
The Standard Code is used by most nuclear genes. Some organelles and organisms use a different code. Introns, if your sequence has them, are not cut out by this page.
How to use the DNA to RNA Converter
- Under Which strand did you type? choose the Coding strand or one of the two template-strand options.
- Type or paste the DNA sequence with the letters A, T, C and G. Spaces, line breaks and numbers are ignored.
- Under Where does reading start? choose Start at the first AUG or Start at the first base.
- Read the mRNA, the codons and the protein under Result. Use Copy the mRNA to take it with you.
How do I convert DNA to RNA?
Copy the coding strand and write U wherever it has T. The coding strand is the one whose letters match the mRNA. For the example ATGGTGCACCTGACTCCTGAGTAA, the mRNA is AUGGUGCACCUGACUCCUGAGUAA. Nothing else changes, because RNA uses uracil (U) where DNA uses thymine (T).
If you have the other strand, the template strand, you pair each base instead: A with U, T with A, C with G and G with C. The sequence you get is the mRNA. That is what the cell does, since the enzyme that makes mRNA reads the template strand and builds a matching copy.
The coding strand is also called the sense strand, and the template strand the antisense strand. If a source does not say which one it shows, the coding strand is the safer guess, since it is the one printed in most gene records.
Which strand do I have, and in which direction is it written?
Every DNA strand has a 5′ end and a 3′ end, and mRNA is built from its 5′ end to its 3′ end. Two strands pair in opposite directions, so a template strand written from 3′ to 5′ lines up letter for letter under the coding strand, and complementing it gives the mRNA straight away. A template strand written from 5′ to 3′ must be reversed as well, so the tool takes the reverse complement.
Pick the option that matches how your sequence is written. If the text does not say, a sequence written 3′ to 5′ is usually shown directly under the coding strand in a textbook figure. The mRNA you get is always shown 5′ to 3′, and so are the codons.
How do I find the codons and amino acids?
Read the mRNA three bases at a time. Each group of three is a codon, and the standard genetic code assigns it one amino acid or a stop. In the example, AUG, GUG, CAC, CUG give Met, Val, His, Leu. The whole example reads Met-Val-His-Leu-Thr-Pro-Glu and then a stop codon, UAA. Reading begins at the first AUG, which codes for methionine and is the usual start. The tool marks it as the start and the last codon as the stop.
There are 64 codons for 20 amino acids and three stop codons, so most amino acids have more than one codon. The table below counts them from the code table that the tool uses. UAA, UAG and UGA are the stop codons. Translation ends at the first one.
| Amino acid | 3 / 1 letter | Codons | RNA codons |
|---|---|---|---|
| Alanine | Ala / A | 4 | GCA GCC GCG GCU |
| Arginine | Arg / R | 6 | AGA AGG CGA CGC CGG CGU |
| Asparagine | Asn / N | 2 | AAC AAU |
| Aspartic acid | Asp / D | 2 | GAC GAU |
| Cysteine | Cys / C | 2 | UGC UGU |
| Glutamic acid | Glu / E | 2 | GAA GAG |
| Glutamine | Gln / Q | 2 | CAA CAG |
| Glycine | Gly / G | 4 | GGA GGC GGG GGU |
| Histidine | His / H | 2 | CAC CAU |
| Isoleucine | Ile / I | 3 | AUA AUC AUU |
| Leucine | Leu / L | 6 | CUA CUC CUG CUU UUA UUG |
| Lysine | Lys / K | 2 | AAA AAG |
| Methionine | Met / M | 1 | AUG |
| Phenylalanine | Phe / F | 2 | UUC UUU |
| Proline | Pro / P | 4 | CCA CCC CCG CCU |
| Serine | Ser / S | 6 | AGC AGU UCA UCC UCG UCU |
| Threonine | Thr / T | 4 | ACA ACC ACG ACU |
| Tryptophan | Trp / W | 1 | UGG |
| Tyrosine | Tyr / Y | 2 | UAC UAU |
| Valine | Val / V | 4 | GUA GUC GUG GUU |
What does this converter not do?
It uses the standard code, which most nuclear genes follow. Mitochondria and some organisms use a slightly different code, so the amino acids there can differ. It does not remove introns, find the reading frame for you beyond the first AUG, or predict the shape of the protein.
It also accepts only A, T, C and G. A letter such as N, which stands for an unknown base, is reported with its position so that you can fix the sequence. For the maths of inheritance, the Punnett square calculator shows genotype ratios. For chemistry of the molecules, the molar mass calculator works from a formula.
Use it with
- Molar Mass Calculator: molar mass of a chemical formula, element by element.
- Punnett Square Calculator: offspring genotype and phenotype ratios for a cross.
- Percent Yield Calculator: percent yield from actual and theoretical yield.
Questions
How do I convert DNA to mRNA?
For the coding strand, change every T to U. For the template strand, write the complement of each base: A to U, T to A, C to G and G to C.
What is the difference between the coding and the template strand?
The coding strand has the same sequence as the mRNA, with T instead of U. The template strand is its complement and is the one that is read to make the mRNA.
What are the stop codons?
UAA, UAG and UGA. They do not code for an amino acid, and translation stops at the first one.
What is the start codon?
AUG, which codes for methionine. The tool starts at the first AUG unless you choose to start at the first base.
Why does the tool report a bad letter?
Only A, T, C and G are DNA bases. Another letter, a dash or a U in a DNA sequence is reported with its position instead of guessed.
Can I paste a FASTA sequence?
Yes. A header line starting with > is dropped, and spaces, line breaks and digits are ignored.
Sources
The tool's results are computed in your browser by the code on this page, using the sources listed above; the explanations are checked against the tool's own output.