ProteinIQ

Reverse complement generator

Generate reverse, complement, or reverse-complement of DNA/RNA sequences. Upload a FASTA file or paste your sequences below.

What is a reverse complement?

The reverse complement of a DNA or RNA sequence is the nucleotide sequence that would pair with it in a double-stranded helix, read in the opposite direction. This operation combines two transformations: complementation (replacing each base with its Watson-Crick pair) and reversal (reading the sequence from 3' to 5' instead of 5' to 3').

Reverse complements are essential in molecular biology because DNA is double-stranded with antiparallel strands. When you have a sequence from one strand, you often need the complementary strand for primer design, probe construction, or understanding gene orientation.

How does reverse complement work?

Each nucleotide base pairs with a specific complementary base through hydrogen bonding:

DNA BaseComplement
AT
TA
CG
GC

For RNA sequences, uracil (U) replaces thymine (T):

RNA BaseComplement
AU
UA
CG
GC

The three operations

The Reverse Complement Generatorprovides three distinct transformations:

  • Complement only replaces each base with its pair while maintaining the original sequence direction. For example, ATCG becomes TAGC.
  • Reverse only reads the sequence backwards without changing the bases. For example, ATCG becomes GCTA.
  • Reverse complement performs both operations, giving you the sequence of the complementary strand in the standard 5' to 3' direction. For example, ATCG becomes CGAT.

Why reverse complement matters

When designing PCR primers, you need the reverse complement of your target region to create a primer that will bind to the opposite strand. Similarly, when analyzing sequencing results from the reverse strand, converting to the forward strand's perspective requires reverse complementation.

The 5' to 3' convention is universal in molecular biology. Since complementary strands run antiparallel, the reverse complement ensures both strands are described in the same orientation.

Input requirements

  • Input sequences: DNA or RNA sequences in FASTA format. Supports single or multiple sequences. Accepts .txt, .fasta, .fa, .fas, and .seq files up to 50 MB.

Conversion options

  • Sequence type: Select DNA (A, T, C, G) or RNA (A, U, C, G) to apply the correct complementation rules.
  • Operation: Choose Reverse complement for full transformation, Reverse only for sequence reversal without base changes, Complement only for base pairing without reversal, or All operations to generate all three outputs for comparison.

Output formatting

  • Output case: Convert output to Uppercase (ATCG), Lowercase (atcg), or Preserve original case.
  • Preserve FASTA format: Keep FASTA headers and structure in the output.
  • Add operation suffix to headers: Append _rc, _rev, or _comp to sequence headers to identify which transformation was applied.

Understanding the results

The output displays the transformed sequences in your chosen format. When using All operations, you'll receive three versions of each input sequence, clearly labeled with their respective suffixes.

Example transformation

For the DNA sequence 5'-ATGCAGTC-3':

OperationResult
OriginalATGCAGTC
ComplementTACGTCAG
ReverseCTGACGTA
Reverse complementGACTGCAT

The reverse complement (GACTGCAT) represents the complementary strand read in the 5' to 3' direction.

Common use cases

Primer design: Generate the reverse primer sequence from your target region by taking the reverse complement of the downstream binding site.

Sequence verification: Compare sequencing results from both strands by converting one to the reverse complement.

Annotation interpretation: When a gene is on the minus strand, its sequence in databases is often given as the reverse complement relative to the chromosome reference.