bigtext 0.7.0

Fast text editor for huge files (1-50+ GB): opens instantly, never freezes, streaming search/replace and atomic save
Documentation

BigText — fast text editor for huge files (1–50+ GB)

build release license: MIT website

Open, search and edit 1 GB, 10 GB and 50 GB text and log files instantly. BigText is a free, open-source desktop text editor for huge files — logs, CSV exports, SQL dumps, JSON — that never freezes and never loads a whole file into memory. Written in Rust, it is one self-contained binary with no runtime dependencies, for Windows, Linux and macOS.

Download · Website · All features · Usage · Русский · O'zbekcha

BigText with a 10 GB log file open at line 45,357,933, log highlighting and the performance overlay showing 99 MB of memory

Highlights

  • Any size opens instantly. A 50 GB file shows its first screen in under 50 ms and stays at about 100 MB of memory. The line index builds in the background, and go to line works before it finishes.
  • Search at 2.5 GB/s. Plain text or regex, Find All, a filter view that works like grep, and Replace All streamed through a 10 GB file with bounded memory.
  • Real editing, safe saving. Undo, multiple cursors, column selection, and sorting and text operations on files of any size. Saves write a temporary file and replace the original atomically, and a recovery journal brings unsaved edits back after a crash.
  • Made for logs. Follow mode like tail -F, go to a time, a level bar, a time histogram, logs merged by time, and message patterns that group lines by template.
  • Tables and JSON. CSV and TSV files open as tables with sorting, statistics, pivots and joins. JSON gets a structure view, folding and queries over JSON Lines.
  • Compare, hex and archives. A streaming diff of two huge files, a hex view, and .gz, .zst, .xz, .bz2, .zip and .tar files opened without unpacking them by hand.
  • Code in colour. Python, JavaScript, TypeScript, Java, Kotlin, Swift, Dart, C#, C/C++, Go, Rust, PHP, Ruby, Lua, PowerShell and shell scripts, as well as CSS/SCSS, Markdown, YAML, Dockerfiles and Makefiles, are highlighted, with comments and strings followed over lines, and only the rows on screen are coloured.
  • Code looks like it does in a code editor. Code files open in One Dark colours (One Light on the light theme) on a softer background, with roomier rows, the current line number lit and thin indent guides at each level. Spaces and tabs are plain space in code, with no dots or arrows; View → Show whitespace is switched for code apart from logs and other text. View → Theme → Code colours offers Monokai, GitHub Dark/Light and Solarized Dark/Light too.
  • Editor tools for code. Ctrl+P finds a file in the open folder from a few letters of its name, Ctrl+R lists the functions and classes of a file, Ctrl+/ comments lines out and back in, and brackets and quotes close themselves.
  • Folder side bar. File → Open folder… (Ctrl+Shift+O) shows a folder's files in a tree on the left, as in Sublime Text: a click opens a file, folders are read only when expanded, names can be filtered, and the folder comes back with the session. Right-click to create, rename or move files to the Recycle Bin.
  • Logs on servers. Open user@server:/var/log/app.log over SSH with your keys, or its last megabytes followed like tail -F (bigtext -f user@server:/var/log/syslog); https:// and public s3:// files are downloaded with progress (Ctrl+Shift+U).
  • Eight interface languages. English, Russian, Uzbek, Chinese, Spanish, Portuguese, German and Turkish; a first start picks the system's language.

Scripts get the same streaming code without a window in bigtext-cli (see USAGE.md). Every feature is described in FEATURES.md.

Download

Latest release: all files and release notes · changelog

Platform Download
Windows 10 / 11 Installer (adds “Open with” and an Explorer context-menu entry) · portable .zip
Linux x64 AppImage · .deb (Debian, Ubuntu) · .tar.gz
macOS BigText.app for Apple Silicon · Intel; plain binaries: Apple Silicon · Intel (unsigned: right-click → Open on first launch)

With Rust installed, on any platform: cargo install bigtext (crates.io/crates/bigtext; on Linux, first install the packages listed under Building). Or build it yourself (see Building).

How it compares

Notepad++ and VS Code read the whole file into memory, so a 10 GB log needs at least 10 GB of free RAM. The editors built for huge files are paid, Windows-only or read-only: EmEditor runs only on Windows and its free edition is for home and school use, UltraEdit is a paid subscription, and klogg views and searches files without editing them. BigText opens, searches and edits files of any size on Windows, Linux and macOS, and it is free and open source.

Editor Price Open source Platforms A 10 GB file Editing huge files
BigText Free ✅ MIT Windows, Linux, macOS ✅ Reads only the part on screen, about 100 MB of RAM ✅ Streaming replace, atomic save
EmEditor Paid (free edition for home and school use only) ❌ Windows ✅ ✅
UltraEdit Paid subscription ❌ Windows, Linux, macOS ✅ ✅
klogg Free ✅ GPL-3.0 Windows, Linux, macOS ✅ ❌ Views and searches only
Notepad++ Free ✅ GPL Windows ⚠️ Loads the whole file into RAM; the 32-bit build refuses files over 2 GB ⚠️ Only what fits in RAM
VS Code Free ✅ MIT (Code - OSS) Windows, Linux, macOS ⚠️ Loads the whole file into RAM ⚠️ Only what fits in RAM

Checked in November 2026 against each project's own pages: EmEditor and EmEditor Free, UltraEdit large files, klogg, Notepad++ file loading, VS Code text buffer. Something out of date? Open an issue.

Screenshots

Regex search over 10 GB (2.5 GB/s) Comparing two logs
Find All with a regular expression over a 10 GB log: 166 matches in 4 seconds Streaming diff of two log files with the differences listed below the text
Hex view in the middle of a 10 GB file Light theme, JSON, split view, bookmarks
Hex view at offset 0x140000000 of a 10 GB file JSON file with syntax highlighting in a split view with bookmarks

The screenshots are made by the app itself: bigtext --screenshots DIR testdata/random-lines-10g.txt.

Usage

bigtext app.log:120                                     open a file at line 120
bigtext --find ERROR app.log                            open it and search
journalctl -f | bigtext -                               follow standard input
bigtext-cli filter -i timeout app.log -o timeouts.log   save the matching lines

The full command line, every bigtext-cli command and the keyboard shortcuts are in USAGE.md.

Measured performance

Measured on Windows 11 Pro, Intel Core Ultra 9 285 (24 cores), 191 GB RAM, release build, files already in the OS page cache ("cached data" as in the targets). GUI numbers come from bigtext --bench-ui (frame time = CPU time of one egui frame including our layout); core numbers from bigtext-bench. Raw reports: scripts/bench.ps1 reproduces them.

Targets

Target Goal Measured
Open → first screen of text < 200 ms 41–46 ms in the GUI (1 GB … 50 GB, incl. waiting for the next frame); open + detect on the worker 1.2–2.4 ms; first-screen layout 0.03 ms ✅
Jump to line, indexed (10 GB / 50 GB) < 50 ms frame incl. jump + layout: avg 0.86 / 0.88 ms, max 1.31 / 1.22 ms; core lookup + 50-row layout avg 0.07 ms ✅
Jump to line before indexing (estimate) < 500 ms frame avg 1.40 / 1.60 ms, max 1.82 / 2.01 ms (refined automatically when the index arrives) ✅
UI frame time while indexing / scrolling < 16 ms page-down every frame while indexing 50 GB: avg 0.83 ms, p99 1.16 ms, max 1.88 ms (600 frames); 2 GB single line: max 2.68 ms ✅
Literal search throughput ≥ 1 GB/s 2.4–2.5 GB/s (10 GB, 50 GB), 4.4 GB/s (2 GB line), case-insensitive 1.7–2.1 GB/s ✅
Simple regex throughput ≥ 200 MB/s id=99\d{4} 2.3–2.8 GB/s, ERROR\] id=\d+ timeout 2.3 GB/s, no-literal [a-z]{9,} [a-z]{9,} 672 MB/s; decoded UTF-16 / cp1251 regex 390 / 248 MB/s ✅
Replace All on 10 GB, private memory < 300 MB 22.2 M replacements, 10 GB written in 11.3 s (904 MB/s incl. fsync), peak private 46 MB ✅
Idle private memory, 50 GB file open < 200 MB 107 MB in the GUI after indexing (≈95 MB of it is the GUI/GL baseline); core process 12 MB ✅
Startup → first paint < 300 ms 159–185 ms (process start → end of first frame) ✅

Details

File Index time (throughput) Index memory Lines
random-lines-1g.txt 0.45 s (2.3 GB/s) 130 KB 9,069,553
random-lines-10g.txt 4.1–4.3 s (2.4–2.5 GB/s) 2.0 MB 90,713,192
random-lines-50g.txt 19.2–23.1 s (2.2–2.7 GB/s) 8.1 MB (0.016 % of file) 453,565,956
single-line-2g.txt 0.76 s (2.7 GB/s) 260 KB 1
short-lines-100m.txt 0.18 s (2.6 GB/s) 65 KB 100,000,001
utf16le.txt (64 MB) 0.02 s 8 KB 690,320
cp1251.txt (64 MB) 0.03 s 8 KB 1,091,711
  • Chunked fallback (forced, 1 GB): first screen 3.1 ms, search 3.0–3.6 GB/s, private memory 67 MB (64 MB block cache).
  • 2 GB single line: page-down frames avg 1.87 ms, go-to 0.45 ms, search finds the marker in the middle at 4.4 GB/s.
  • Save of an edited 1 GB file (edit at the top while indexing was still running): 0.9–1.1 s for write + fsync + atomic replace + reopen.
  • Memory design note: mapping a whole 50 GB file on Windows commits ~100 MB up front (file size / 512), so the UI maps a small LRU cache of 288 MB views and workers stream with positional reads into reused buffers. That keeps memory flat, and makes indexing faster than first-touch page faults (2.4 vs 1.6 GB/s); repeated searches run at ~2.4 GB/s instead of the ~10 GB/s an already-faulted full mapping would allow.

Documentation

  • FEATURES.md: every feature in detail, and the known limitations.
  • USAGE.md: the command line, bigtext-cli and the keyboard shortcuts.
  • CONTRIBUTING.md: building, architecture, tests, the website and releasing.
  • CHANGELOG.md: what changed in each release.

Author

Erkin Pardayev

Licensed under the MIT license.