
Reverse complement generator
Generate reverse, complement, or reverse-complement sequences for DNA and RNA inputs.
Related tools

GenBank Feature Extractor
Extract sequence features (CDS, mRNA, gene, etc.) from GenBank files in FASTA format with support for spliced features

CSV to FASTA
Convert CSV and TSV files containing sequence data to FASTA format with flexible column mapping and automatic delimiter detection

DNA to RNA converter
Convert DNA sequences to RNA (transcription) - replaces T with U

FASTA to FASTQ Converter
Convert FASTA sequence files to FASTQ format with mock quality scores

FASTQ to FASTA converter
Convert FASTQ sequence files to FASTA format

GenBank to FASTA Converter
Convert GenBank files to FASTA format

RNA to DNA converter
Convert RNA sequences to DNA (reverse transcription) - replaces U with T

TXT to FASTA converter
Convert plain text sequences to FASTA format - supports DNA, RNA, and protein sequences with automatic cleanup and validation

DNA to Protein Converter
Translate DNA sequences to protein sequences using genetic code

Protein to DNA converter
Reverse translate protein sequences to possible DNA sequences
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 Base | Complement |
|---|---|
| A | T |
| T | A |
| C | G |
| G | C |
For RNA sequences, uracil (U) replaces thymine (T):
| RNA Base | Complement |
|---|---|
| A | U |
| U | A |
| C | G |
| G | C |
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,
ATCGbecomesTAGC. - Reverse only reads the sequence backwards without changing the bases. For example,
ATCGbecomesGCTA. - Reverse complement performs both operations, giving you the sequence of the complementary strand in the standard 5' to 3' direction. For example,
ATCGbecomesCGAT.
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)orRNA (A, U, C, G)to apply the correct complementation rules. - Operation: Choose
Reverse complementfor full transformation,Reverse onlyfor sequence reversal without base changes,Complement onlyfor base pairing without reversal, orAll operationsto generate all three outputs for comparison.
Output formatting
- Output case: Convert output to
Uppercase (ATCG),Lowercase (atcg), orPreserve original case. - Preserve FASTA format: Keep FASTA headers and structure in the output.
- Add operation suffix to headers: Append
_rc,_rev, or_compto 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':
| Operation | Result |
|---|---|
| Original | ATGCAGTC |
| Complement | TACGTCAG |
| Reverse | CTGACGTA |
| Reverse complement | GACTGCAT |
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.