About DNA Reverse Complement Calculator
A DNA strand has direction: one end is 5′ and the other 3′, and the two strands run antiparallel. Because bases pair in a fixed way, A with T and C with G, the sequence on one strand tells you the sequence on the other. The reverse complement is that partner strand written in the conventional 5′ to 3′ direction.
This tool cleans pasted sequence first: FASTA headers, line breaks, spaces, digits and punctuation are removed, invalid letters are reported, and you choose DNA or RNA so adenine pairs with thymine or uracil. The cleaned input, the complement read 3′ to 5′ and the reverse complement read 5′ to 3′ are shown separately with copy buttons and a downloadable text report.
What this tool does
DNA and RNA pairing
Switch between DNA (A ↔ T, C ↔ G) and RNA (A ↔ U, C ↔ G); the chosen molecule also controls which letters are valid.
Complement and reverse complement
Both orientations are shown explicitly: the complement read 3′ → 5′ and the reverse complement read 5′ → 3′.
FASTA and raw input cleanup
Paste a header-bearing record or raw sequence; headers, whitespace, digits and punctuation are stripped before the sequence is complemented.
Invalid characters reported
Letters that are not bases are counted and named instead of silently disappearing, and U in DNA mode or T in RNA mode gets a mode-switch hint.
Ambiguity codes supported
IUPAC codes use their standard complements (R with Y, K with M, B with V, D with H), so partially ambiguous sequences still work.
Copy and download
Copy any of the three sequences or download a labelled plain-text report for a lab notebook or report.
How to use DNA Reverse Complement Calculator
- 01
Paste the sequence
Paste raw sequence or a FASTA record into the text box; the sequences appear as soon as the input contains valid bases.
- 02
Choose DNA or RNA
Pick the molecule that matches the sequence so adenine pairs with thymine or with uracil.
- 03
Read the three sequences
Check the cleaned input, the complement in 3′ → 5′ orientation and the reverse complement in 5′ → 3′ orientation.
- 04
Fix anything reported
Warnings list invalid letters and skipped bases; switch the molecule if U or T is being skipped.
- 05
Copy or download
Use the copy buttons for one sequence or download a text report containing all three.
How this tool works
- Works with
- DNA/RNA → COMPLEMENT
- Processing
- Client-side, in your browser. Nothing is uploaded.
- Requirements
- Chrome, Edge, Firefox or Safari · JavaScript enabled
Limitations worth knowing
- Works on nucleotide sequences only; protein or prose input is reported as invalid letters instead of being complemented.
- Ambiguity codes are complemented by their IUPAC partners, which is a notation convention rather than knowledge of the actual base.
- Very long sequences are capped in the on-screen boxes, though the copy buttons and the downloaded report include the full sequence.
Privacy and file handling
The sequence you paste stays in this browser tab. Cleaning, complementing and reversing run with JavaScript on your device, so nothing is uploaded, stored or logged, and closing the page discards the input and its result.
Read the full privacy policy