Reverse Complement Calculator

Compute reverse, complement, or reverse-complement for DNA/RNA sequences with FASTA support.

Reverse, Complement, and Reverse Complement Tool

DNA/RNA Sequence Manipulation Guide

Use reverse, complement, and reverse complement operations for primer design, strand checks, sequence alignment, and ORF finding.

  • Reverse: Reverses the order of the input sequence.
  • Complement: Generates the complementary DNA or RNA strand by replacing each base with its partner.
  • Reverse Complement: Reverses the sequence first, then generates the complement. This is useful for checking features on the opposite strand.

Important Considerations

  • Supported Formats: Raw DNA/RNA and FASTA input are supported. FASTA headers are preserved.
  • Large Datasets: You can convert many sequences and download the result as a text file.
  • Ambiguity Codes: IUPAC ambiguity codes are supported, including R/Y, K/M, B/V, and D/H pairs.
  • Case Preservation: Uppercase and lowercase letters are preserved in the output.
  • Client-Side Processing: Calculations run in your browser; sequences are not uploaded.

Nucleotide Ambiguity Codes

Ambiguity codes represent positions where the exact nucleotide may not be known. The table shows how each code is complemented.

CodeNucleotidesComplement
AAT
GGC
CCG
TTA
UUA
RA or G (purine)Y
YC or T (pyrimidine)R
SC or G (strong)S
WA or T (weak)W
KG or T (keto)M
MA or C (amino)K
BC, G, or T (not A)V
VA, C, or G (not T)B
DA, G, or T (not C)H
HA, C, or T (not G)D
-gapunchanged
any otherany or unknownunchanged

How to Use

  1. Paste or type your DNA/RNA sequence (raw text or FASTA).
  2. Select the operation you need: reverse, complement, or reverse complement.
  3. Copy or export the result for downstream analysis (primers, strand checks, annotations).

FAQ

What is the reverse complement used for?

It is commonly used to analyze features on the opposite strand, design primers, and work with strand-specific annotations.

Does it support ambiguity codes?

Yes. IUPAC ambiguity codes are supported (e.g., R↔Y, K↔M, B↔V, D↔H), and case is preserved.