Read papers the way they deserve to be read.

A desktop PDF viewer that guides high-magnification reading with deep-learning layout analysis — line by line, block by block. Built for the calm, sustained reading of dense academic papers.

  • Desktop app for Linux & Windows
  • Free & open source (MIT)
  • AI layout model bundled in
railreader2 rail mode — the active line lit by the amber highlight at high magnification while the rest of the text block stays calm
01

What it is

A reading room for dense PDFs

railreader2 is a desktop PDF viewer for reading dense academic documents at high magnification. It uses deep-learning layout analysis to understand each page's structure — text, headings, figures, tables, equations — then guides you through it line by line, block by block.

A note on accessibility: railreader2 includes features that help readers with visual impairments — colour filters, line focus, high-contrast modes — but it is designed for comfortable reading at high magnification, not as a full assistive-technology solution. It is not a screen magnifier and may not suit users who need dedicated software with screen-reader integration, cursor tracking, or system-wide magnification.
02

Everything it does

Built around your document

A focused reading environment, not a screen magnifier — every feature works with the page's real structure.

Layout analysis

It reads the page before you do

A deep-learning model maps every page — text, headings, figures, tables, equations — and works out the reading order. Everything else builds on that.

Docling Heron by default, or PP-DocLayoutV3 and PP-DocLayout-S as downloadable alternatives.

Scanned documents work too: opt-in OCR recovers the missing text layer — straightening a crooked scan as it goes, with optional multilingual language packs — so rail reading, search, and selection behave as they do on a born-digital page.

railreader2 showing AI layout analysis — detected text blocks, figures, and reading-order numbers overlaid on an academic page

Rail reading

One line at a time

Past your zoom threshold, navigation locks to the detected blocks and advances line by line. Optional line-focus dimming fades all but the current line, so your eye never loses its place.

Hold Ctrl and drag to free-pan a figure; release to snap back. Hold Ctrl on its own for a second to keep free pan on while you annotate around it, and tap Ctrl to return. Press R to start rail reading at whatever zoom you're at.

railreader2 rail mode with line-focus dimming — the active line stays lit while surrounding lines fade

Visual comfort

Tuned to your eyes

GPU colour filters — amber, high-contrast, high-visibility, invert — on the page only, at any intensity. Each document keeps its own; press C to cycle.

railreader2 amber colour filter applied to a PDF page via a GPU shader

Find

Anything, in seconds

Full-text search in the side panel, grouped by page with context snippets and on-page highlights. Regex and case toggles; step between hits with F3.

railreader2 full-text search with a side panel of grouped results and highlighted matches on the page

Mark it up

Highlights, notes, and ink

Highlight, underline, strikethrough, squiggly, pen, rectangles, sticky notes, and text boxes from the annotation toolbar — saved as native PDF annotations or a sidecar. Select, move, resize, copy and paste between documents, undo; export or import as JSON or a flattened PDF.

Any highlight can carry a comment — double-click it — and overlapping highlights can be merged into one. Comments are saved into the PDF, so other readers show them too.

Notes and text boxes are spell-checked as you type, with British and American English dictionaries built in and a personal word list for your own terms.

railreader2 annotation tools — highlights, freehand pen, rectangles, and text notes on a PDF page

Stay organised

Your whole reading list

Open many PDFs in tabs, each with its own state — open the same file twice and the two tabs share its caches and annotations while keeping independent positions. One side panel holds the outline, bookmarks, an index of every figure, table and equation, search, comments, and portals — and hands focus back to the page when you jump.

railreader2 with multiple PDF tabs open and the side-panel accordion showing the document outline

Smaller touches, everywhere

Search Your Whole Library

Remember what a paper said but not which paper? Ctrl+Shift+F searches the text, outlines, notes and reviewers’ comments of every PDF you have opened, and opens the result at the right page with your words highlighted. The welcome screen lists your recent documents with how far you’ve read. The index stays on your computer.

Portals — Linked Context

Link a “see Figure 3” to the figure itself, and it stays in view — docked, or in a detachable always-on-top pop-out window — as you rail-read past the reference. The pop-out is a live viewport, so rail, freeze, and annotation all work inside it. On-page markers show every link; click one to jump.

Freeze Panes

Pin part of a page in place — like Excel’s Freeze Panes — so a header row, a label column, or both stay visible while the rest scrolls. Pick Rows, Columns, or Both from the toolbar’s snowflake button (Z arms both), then click to drop the split. Page-wide and works on any page.

Reading Packages

Take a reading session to another computer: File → Save Reading Package bundles the PDF with your notes, bookmarks, portals and place into one .railreading file. Open it on the other machine to carry on where you stopped — into the copy you already have, or as a new one.

Split & Tear-off Views

See one document at several positions at once: split the editor into side-by-side panes (Ctrl+\) or tear a pane off into its own floating window for a second monitor. Each view has its own page, zoom, and rail — keep a figure in sight while you read the text that discusses it.

View Rotation

Quarter-turn a sideways scan or a wide landscape table (Ctrl+R). In rail mode, press U to make just the current sideways block upright and re-analysed for real per-line detection — press again to reset.

Continuous Scrolling

Opt in from Settings → Reading to let the mouse wheel flow smoothly across page boundaries in browse mode, instead of jumping page to page. Rail mode stays page-local either way.

GPU-Accelerated Analysis

Optional WebGPU execution for the layout model (roughly 8–10× faster than CPU on supported hardware) or for OCR on scanned pages — one at a time, with an automatic CPU fallback. Pick a preset in Settings → Performance (advanced view).

Simple or Advanced Settings

Settings opens on the handful of options most readers change — a Relaxed / Normal / Brisk reading pace, how to mark the current line, colours, auto-scroll stops, scanned pages, spelling. Turn on Show advanced settings to fine-tune everything else.

Start Rail Anywhere

Rail reading normally starts past your zoom threshold. Press R — or use the toolbar button and click where to begin — to rail-read at the current zoom instead. R or Escape exits.

Line Highlight Tint

A colour tint on the active line — Auto, Yellow, Cyan, Green, or None, at adjustable opacity. Auto follows the active colour effect.

Semi-Automatic Auto-Scroll

Flows through prose on its own (P) and parks at equations, tables, figures, headings, and column/page breaks — press D/S to continue. Pan and zoom stay live while parked. Speed is zoom-independent and tunable with [ / ].

Jump Mode & Line Focus

Saccade-style jumps (J) advance by a set fraction of the view. Line-focus dim (F) fades inactive lines; toggle the highlight with H.

Render Quality

PDFium rasterises at a DPI proportional to zoom, up to a configurable preset (default 525 DPI, up to 800 — or Custom). Pan and zoom stay GPU-smooth and sharp.

Configurable Navigation

Choose which block types rail stops on and which centre when narrow; set the rail zoom threshold and reading pace, or fine-tune scroll speed and snap timing individually. Settings persist.

Margin Cropping

Fit the viewport to the detected content instead of the full page — no wasted whitespace, computed per document so it never clips. Toggle Ctrl+Shift+M.

Named Bookmarks

Bookmark any page with a name and jump to it from the side panel. "Back to previous location" returns you after a jump. Persists across sessions.

Copy as LaTeX

Send any equation, table, or figure to a vision model — LaTeX, Markdown, or a description, straight to the clipboard. Cloud or local API; see the setup guide.

Smooth Zoom & Dark Mode

Every zoom animates over 180ms with cubic ease-out, and rapid inputs accumulate fluidly. A dark UI theme is one click away in Settings.

Text Selection & Copy

Switch to Text Select on the floating toolbar to select and copy text from any page, with clear feedback for the active mode.

Motion Blur

Subtle directional blur on scroll and zoom for perceptual smoothness. Adjust with Shift+[ / ], or turn it off.

Diagnostic Logging

Each session writes a log for troubleshooting. Export it from Help → Export Diagnostic Log to attach to a bug report.

Headless Core Library

All logic lives in a rendering-agnostic RailReader.Core (zero Avalonia/SkiaSharp), fully unit-tested without a display. A standalone CLI reuses it for rendering, extraction, and batch VLM transcription. See the ecosystem page for RailReaderCore and its sibling, RailMark.

Built by a statistics lecturer who reads at high magnification — and almost entirely with an AI coding agent. Read the story →

The reading engine is open source too: RailReaderCore, and RailMark for PDF review markup. See the ecosystem →

03

Five minutes

Getting Started

  1. Windows (Microsoft Store): Install directly from the Microsoft Store for automatic updates, no SmartScreen warnings, and clean install/uninstall. Note: the Store release may lag behind the GitHub release by a few days due to certification review.
  2. Windows (standalone) or Linux: Download the latest release from GitHub Releases — an AppImage for Linux or an installer for Windows. The AI layout model is included in all packages.
  3. Linux: Make the AppImage executable (chmod +x railreader2-x86_64.AppImage) and run it. Windows (standalone): Run railreader2-setup-x64.exe and follow the installer wizard.
  4. Windows SmartScreen warning (standalone installer only): Windows may show a “Windows protected your PC” dialog because the standalone installer is not code-signed. This does not apply to the Microsoft Store version. To continue: click More info, then Run anyway. If your browser flags the download, choose Keep (Chrome) or Keep anyway (Edge). The full source code is available on GitHub.
  5. Open a PDF with the Open a PDF… button on the welcome screen, Ctrl+O, or pass it as a command-line argument. Zoom in past 3× to activate rail mode and start reading — or press R to start it at the current zoom.

Advanced: A standalone headless CLI for automated batch extraction is also available from GitHub Releases.

04

At your fingertips

Keyboard Shortcuts

Key Action
General
Ctrl+OOpen file
Ctrl+WClose tab
Ctrl+TabNext tab
Ctrl+QQuit
Ctrl+,Settings
Ctrl+MToggle minimap
Ctrl+Shift+MToggle margin cropping
Ctrl+Shift+OOpen Outline section
Ctrl+Shift+BOpen Bookmarks section
Ctrl+Shift+IOpen Index section (figures / tables / equations)
Ctrl+Shift+H / G / T / EJump to next heading / figure / table / equation
Ctrl+LCopy block as LaTeX (VLM)
Ctrl+GGo to page
Ctrl+\ / Ctrl+Shift+\Split editor / close focused pane
Ctrl+R / Ctrl+Shift+RRotate view clockwise / counter-clockwise
F1Keyboard shortcuts
Navigation
PgDn / PgUpNext / previous page
Home / EndFirst / last page
Ctrl+Home / Ctrl+EndFirst / last page (also from menu)
SpaceNext line (rail mode) or next page
View
+ / -Zoom in / out
0Fit page to window
F11Toggle fullscreen
Shift+DToggle debug overlay
Rail Mode
RStart rail here at the current zoom (press again or Escape to exit)
KReading guide on/off (experimental; enable it in Settings first)
Down / SNext line
Up / WPrevious line
Right / DScroll forward (hold)
Left / AScroll backward (hold)
Home / EndLine start / end
PToggle auto-scroll (D/S to continue when parked)
JToggle jump mode (saccade-style advance)
BAdd bookmark for current page
` (backtick) / Alt+LeftNavigate back to previous location
Alt+RightNavigate forward
CCycle colour effect on the focused document
FToggle line focus dim
HToggle line highlight
URotate to read the current sideways rail block (press again to reset)
ZFreeze panes (rows and columns) / unfreeze
Ctrl+DragFree pan/zoom in rail mode (release to snap back)
Hold Ctrl ~1 sKeep free pan on (tap Ctrl to snap back)
EscapeStop auto-scroll
[ / ]Adjust scroll speed or jump distance (±5)
Ctrl+[ / ]Fine adjust speed or jump distance (±1)
Shift+[ / ]Adjust blur intensity (±0.05)
Ctrl+Shift+[ / ]Fine adjust blur intensity (±0.01)
Search & Annotations
Ctrl+FOpen search panel
F3 / Shift+F3Next / previous match
EscapeStop auto-scroll / close search / cancel tool / exit fullscreen
Ctrl+EToggle annotation mode
Right-clickBlock actions (Copy as LaTeX / Markdown / Description / Image) + toggle Annotation Mode
Ctrl+ZUndo annotation
Ctrl+Y / Ctrl+Shift+ZRedo annotation
DeleteDelete selected annotation (browse mode)
Ctrl+CCopy selected text, or the selected annotation
Ctrl+XCut selected annotation
Ctrl+VPaste annotation onto the current page
F7Next misspelling (in the note editor)