Maaz Zindani

Loading the index…

↑↓ move↵ openesc close4791 pages

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

By Maaz Zindani · Updated

Which strand did you type?

Use A, T, C and G. Spaces, line breaks and numbers are ignored. The sequence above is an example: replace it with yours.

Where does reading start?
mRNA (5′ to 3′)

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
#CodonAmino acidName
1AUGMet (start)Methionine
2GUGValValine
3CACHisHistidine
4CUGLeuLeucine
5ACUThrThreonine
6CCUProProline
7GAGGluGlutamic acid
8UAAStopStop 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

  1. Under Which strand did you type? choose the Coding strand or one of the two template-strand options.
  2. Type or paste the DNA sequence with the letters A, T, C and G. Spaces, line breaks and numbers are ignored.
  3. Under Where does reading start? choose Start at the first AUG or Start at the first base.
  4. 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.

The 20 amino acids and their RNA codons (standard code)
Amino acid3 / 1 letterCodonsRNA codons
AlanineAla / A4GCA GCC GCG GCU
ArginineArg / R6AGA AGG CGA CGC CGG CGU
AsparagineAsn / N2AAC AAU
Aspartic acidAsp / D2GAC GAU
CysteineCys / C2UGC UGU
Glutamic acidGlu / E2GAA GAG
GlutamineGln / Q2CAA CAG
GlycineGly / G4GGA GGC GGG GGU
HistidineHis / H2CAC CAU
IsoleucineIle / I3AUA AUC AUU
LeucineLeu / L6CUA CUC CUG CUU UUA UUG
LysineLys / K2AAA AAG
MethionineMet / M1AUG
PhenylalaninePhe / F2UUC UUU
ProlinePro / P4CCA CCC CCG CCU
SerineSer / S6AGC AGU UCA UCC UCG UCU
ThreonineThr / T4ACA ACC ACG ACU
TryptophanTrp / W1UGG
TyrosineTyr / Y2UAC UAU
ValineVal / V4GUA 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

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.

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.