Home / Science / Molecular and cell biology / Genomics and bioinformatics / BED, GFF and GTF interval toolsTool #175

BED, GFF and GTF viewer: merge, intersect and subtract genomic intervals in your browser

Open a BED, GFF3 or GTF file (gzip too) and see intervals per chromosome and feature type, bases covered and lengths. Merge overlapping intervals, find where two files overlap, keep or drop overlaps, or cut one file out of another, with bedtools rules. Download the result as BED. Nothing is uploaded.

Keep it one tap away for everyday use.

Bookmark BED, GFF and GTF interval tools?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Open A
  2. Pick a tool
  3. See it
  4. BED out
Nothing is uploadedWorks offline once open

File A

Files up to 500 MB (gzip too) are read on your device; nothing is uploaded. The example is a made-up gene annotation (GFF3) on two made-up contigs.

What to do

What it does

Genome annotations and experiment results usually come as lists of intervals: a chromosome, a start and an end. BED files (peaks, regions, targets) count from 0 and leave the end out, so chr1 0 100 is the first 100 bases. GFF3 and GTF files (genes, transcripts, exons) count from 1 and include both ends. This page reads all three, converts GFF and GTF to BED positions, and answers the everyday questions without installing bedtools:

  • Just summarise A. How many intervals there are per chromosome and per feature type (gene, mRNA, exon, CDS), how many bases they cover (overlaps counted once), their lengths and strands.
  • Merge joins intervals that overlap or touch into single regions, like bedtools merge. Set Join gaps up to to also join intervals that close. The Joined column counts how many went into each region.
  • Overlapping parts of A and B gives the shared part of every overlapping pair, like bedtools intersect.
  • A that overlap B keeps whole A intervals that touch at least one base of B, once each (intersect -u). A that don’t overlap B keeps the rest (intersect -v).
  • A with B cut out removes the parts of A covered by B (bedtools subtract).

Tick Same strand only to compare + with + and − with −. Use Feature type to work on exons only, or genes only, and Chromosome to look at one.

The view and the downloads

The view draws A, B and the result as boxes in rows for any stretch of a chromosome, with arrows for strand. Type the range you want; positions in the view and the tables count from 1, as genome browsers do. Download as BED gives the whole result in BED positions (merge adds the count as a fourth column), and the Image, PDF and Word buttons give a short report with the summary, view, length chart and the first 200 intervals.

Worked example

The example A is a made-up annotation: 27 genes with 35 transcripts and 125 exons on two contigs. Some genes have a second transcript that skips an exon and starts a little later, so their exons overlap. With Feature type: exon and Merge, the 125 exons become 100 regions covering 37,272 bases: overlapping exons from the two transcripts have been joined. Switch to Feature type: gene and A that don’t overlap B: 10 of the 27 genes have no peak anywhere on them. In the other direction, Overlapping parts of A and B with exons shows exactly which bases of each exon a peak covers.

FAQ

Is my file uploaded? No. It is read in your browser and stays on your device, so private annotations and patient-derived regions stay private. There are no ads on this page.

How big can files be? Up to 500 MB, also after unzipping a .gz. Very large annotations (a whole human GTF) work but take a few seconds; filtering by type first helps.

Why do touching intervals merge but not intersect? That is how bedtools does it: 0-100 and 100-200 share no base, so they do not overlap, but merge joins book-ended intervals into 0-200.

What about zero-length BED intervals? An interval with start equal to end (an insertion point) counts as covering the base after it when looking for overlaps.

Where the numbers come from

  • Readers and interval operations written by fibub from the public BED, GFF3 and GTF layouts, following the documented behaviour of bedtools merge, intersect (default, -u, -v) and subtract. Checked in the tests against a separate brute-force base-by-base implementation.
  • The example annotation and peaks are made up: random genes, exons and peaks on two made-up contigs.

Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

Last updated 2026-11-09.

Change log for BED, GFF and GTF interval tools

  1. Add BED, GFF and GTF interval tools (#175): merge, intersect, overlap filters, subtract Details on GitHub

Every change to fibub

Related tools

FASTQ and FASTA quality inspector #171 Open a FASTQ or FASTA file of any size (.gz too) and see read counts, lengths and N50, GC content per read, quality by position as boxes, reads by mean quality, base composition along the read and the most repeated sequences. The file is read on your device and never uploaded. VCF viewer and filter #173 Open a VCF or .vcf.gz file of any size and see variant types, Ti/Tv ratio, multi-allelic sites, FILTER and QUAL, allele frequencies, genotypes per sample and counts by chromosome. Filter by chromosome, region, QUAL, depth, PASS and type, then download the filtered VCF. Nothing is uploaded. k-mer counter and spectrum #176 Count every k-letter word in FASTA or FASTQ files (gzip too, any size), with reverse complements together. See the k-mer spectrum, the most common k-mers, a look-up box and a rough genome size from the spectrum's peak. Download the spectrum as CSV. Nothing is uploaded. DNA sequence tools #163 Paste a DNA or RNA sequence or open a FASTA file. Get the length and GC content, the reverse complement, the protein in any of the six reading frames, every open reading frame above a length you choose drawn on a map, and a codon usage table. Runs in your browser; your sequence never leaves the device. Body measures calculator (BMI, BSA, ideal and lean weight) #478 Work out body mass index with the WHO adult class, body surface area by the Mosteller, DuBois, Haycock and Gehan-George formulas, ideal body weight by Devine, Robinson and Miller, adjusted body weight and Janmahasatian lean body weight, in metric or US units. Plasmid map viewer and editor #170 Open or paste a GenBank or FASTA file and get a clean circular or linear plasmid map with feature arrows, single-cutter sites and a size ruler. Rename, recolour, move or add features, move the origin, and download the map as SVG, PNG or PDF and the plasmid as GenBank.