Forest Plot Generator

Build a forest plot for your meta-analysis in your browser. Enter each study's effect size and 95% confidence interval — the plot and the pooled results update live — then download a publication-ready PNG. Pooling is by inverse variance: fixed-effect, plus DerSimonian–Laird random-effects with Cochran's Q, I² and τ². Free, no sign-up, and everything runs locally (your numbers never leave your computer). 在浏览器本地运行,免费无水印。

Effect measure

Studies

StudyEffectLower 95% CIUpper 95% CI

Paste CSV instead

Tip: square sizes and the Weight column follow the model selected on the left (random-effects weights when "Both" is chosen). The pooling code on this page was cross-checked against an independent Python (numpy/scipy) calculation before release — see the numbers in the box above against your own software before you submit.

How the pooling works

  1. Standard errors from your CIs. Each study's standard error is recovered from its 95% CI: SE = (upper − lower) / (2 × 1.96), computed on the log scale for odds and risk ratios, and on the raw scale for mean differences.
  2. Fixed-effect. Studies are weighted by the inverse of their variance (w = 1/SE²). The pooled estimate is the weighted mean, with SE = √(1/Σw).
  3. Heterogeneity. Cochran's Q is the weighted sum of squared deviations from the fixed-effect estimate. I² expresses the share of variation due to heterogeneity rather than chance, and the DerSimonian–Laird estimator turns the excess of Q over its degrees of freedom into τ², the between-study variance.
  4. Random-effects. Each study's variance is inflated by τ² (w* = 1/(SE² + τ²)) and the weighted mean is recomputed. When τ² = 0 the two models coincide.

Frequently asked questions

Which effect measures are supported?
Odds ratios and risk ratios (pooled on the log scale, null line at 1) and mean differences / standardised mean differences (pooled on the raw scale, null line at 0). Enter the effect and its 95% CI exactly as reported by your study or your extraction sheet.

Fixed-effect or random-effects — which should I report?
That is a design decision, not a software default: fixed-effect assumes one true effect; random-effects allows the true effect to vary between studies and is the usual choice when populations or protocols differ. This tool shows both, plus I² and τ², so you can justify your choice. Pre-specify the primary model in your protocol.

Is this generator free?
Yes. It is free to use and the PNG download carries no watermark and requires no account.

Is my data uploaded anywhere?
No. The plot is drawn locally in your browser; nothing is sent to a server.

Can I trust the numbers?
The statistics were validated against an independent Python implementation (numpy/scipy hand formulas) on the preloaded demo dataset, matching to at least three significant figures. Even so, always verify pooled figures against your primary analysis software before submission — this tool is a drafting and checking aid, not a replacement for your registered analysis plan.

How do I make a forest plot without R, Stata or RevMan?
Enter each study’s effect estimate and 95% CI in the table above — or paste a CSV — choose the effect measure, and the plot is drawn instantly in your browser. Download it as a PNG when you are done. No installation, no code and no account are needed.

Can I use the downloaded plot in a journal submission?
The plot downloads as a PNG image with no watermark. Most journals accept a PNG for initial submission; if the production office later asks for a vector file or a specific resolution, check the journal’s author guidelines — and keep your study table, so the figure can be regenerated in seconds.

📚 Go deeper — the full workflow, step by step. The author also writes a paid Chinese column, 《Meta 分析实操手记》, covering the whole meta-analysis pipeline: choosing a question, building a reproducible search, dual screening & extraction, RoB 2 judgements, and reading forest plots — one practical instalment each week. Join on Zhishixingqiu (Knowledge Planet) — early-bird ¥99. 系统学全流程的中文专栏,每周一篇实操。
More free tools from Meta Workbench: PRISMA Flow Diagram Generator · RoB 2 Traffic Light Plot Generator · Sample Size Calculator · All tools