Skip to content

BigText v0.4.1

Choose a tag to compare

@github-actions github-actions released this 29 Oct 16:55
· 88 commits to main since this release

BigText is a free, open-source desktop text editor for huge files (1–50+ GB) that never loads a whole file into memory and never freezes.
Website: erkinbek.github.io/bigtext · Русский · O'zbekcha

What's new in 0.4.1

Logs

  • Level bar above log files: ERROR, WARN, INFO and DEBUG list only those lines; F8 / Shift+F8 go to the next or previous one.
  • Search → Time histogram (Ctrl+Shift+H): how many lines fall in each second, minute, hour or day, with errors and matches in colour; click a bar to go there.
  • File → Merge logs by time… puts the lines of several logs into one coloured, read-only document. Search → Go to this time in all tabs (Ctrl+Alt+T) and View → Link scrolling with keep open logs in step by time, with a clock skew you can set.
  • View → Log fields (Ctrl+Shift+L) for JSON Lines and logfmt, Search → Message patterns… (lines grouped by template), Find time gaps…, a Time range in the search bar, and Unix times, time zones, AM/PM and Java/.NET dates.
  • The filter view shows ±N lines of context, can be narrowed by more conditions, and Delete these / Keep only these change the document. Follow an id (Ctrl+Shift+I) filters the file to the request, trace or session id on the caret's line.
  • Follow mode survives log rotation, like tail -F.
  • Search → Find in files… (Ctrl+Alt+F) searches a whole folder and lists file:line results.

Search and editing

  • Multiple cursors: Ctrl+D adds the next occurrence, Alt+click adds a cursor. Duplicate line moved to Ctrl+Shift+D.
  • Column blocks from the keyboard (Shift+Alt+arrows) and a column editor that fills a block with text or numbers.
  • Sort lines and Remove duplicate lines on files of any size (sorted on disk), plus Count duplicate lines…; upper/lower case and trimming work on any size too.
  • Edit → Run command on selection… (Ctrl+Shift+R): sort | uniq -c, jq . or your own script on the selection or the document; saved commands become Edit → External tools.
  • Edit → Text decodes and encodes Base64, URL, hex, HTML entities and JSON strings.
  • Back / Forward (Alt+Left / Alt+Right), Go to takes 50% and +1000, saved searches in the ★ menu, Top values… of Find All results, matching brackets and tags with Ctrl+], and View → Show whitespace and line breaks.
  • Edit → Paste from history… (Ctrl+Shift+V) and Edit → Copy as ▸ Markdown / HTML.

JSON and XML

  • View → Structure (Ctrl+Shift+J): the outline of a JSON or XML file, and a live JSON path of the caret in the status bar.
  • Folding of objects, arrays and tags (Ctrl+Shift+{ / Ctrl+Shift+}).
  • JSON Lines as a table, filter by fields with queries like .level == "error" and .duration > 500, and View → JSON fields… with each field's types and how often it appears.
  • Search → Check JSON reports the exact place of an error; File → JSON array → JSON Lines… and back, Open logfmt as table, and File → Compare JSON with… compares by structure.

CSV tables

  • Group rows by this column… with sums, Pivot by this column…, File → Join tables… by a key, Add column… computed from an expression, and a Chart… of a column.
  • Freeze and hide columns, Check rows… for rows with the wrong number of fields, and sep=; and comment lines are read.
  • Filter rows by conditions…, Compare table by this column… (rows matched by key), and export to JSON, JSON Lines, Markdown or Excel.

Compare

  • View → Compare side by side, F7 / Shift+F7 through the differences, and ignore white space, case or the timestamp at the start of lines.
  • Save as .diff… writes a unified diff and File → Apply patch… applies one; bigtext diff A B prints one too.
  • File → Compare with the saved file (or the .bak backup), and Search → Lines only in this file….

Files

  • Archives open: files inside .zip and .tar (.tar.gz, .tar.zst, .tar.xz, .tar.bz2); .xz and .bz2 files open directly; a compressed file is shown while it unpacks.
  • Save lines, exports and split parts straight to .gz, .zst, .xz or .bz2 by the file name; free disk space is checked before unpacking or saving.
  • File → Properties… (Ctrl+I), and a recovery journal that brings back unsaved edits after a crash.
  • BigText remembers each file's encoding, syntax, view and table layout.

Tabs and sessions

  • Ctrl+Tab in most-recently-used order, Ctrl+1 … Ctrl+9, pinned tabs, Close others / to the right, and drag a tab to move it.
  • File → Sessions, Edit → Copy file:line (Ctrl+Shift+C), portable mode and export / import of settings.
  • A second bigtext file.log opens in the running window; Show in folder, Open terminal here and Open with the default app.

Interface

  • View → Theme: dark, light, high contrast dark and light, and colour-blind-safe colours; interface scale from 100 % to 200 %.
  • Screen reader support through AccessKit: menus, dialogs, the search bar, result lists and the text.
  • Full screen (F11), zen mode (Ctrl+Shift+F11), line numbers on or off, wrap at a column and a ruler.
  • The status bar is clickable (go to line or offset, reopen with an encoding, line endings, read-only) and you choose its fields.

Command line and packages

  • bigtext-cli for scripts, without a window: filter, levels, count, extract, stats, merge, gaps, patterns, join, pivot, jsonl, convert, head / tail / slice, sort, uniq, replace, csv and more (bigtext-cli --help); many take several files and --json output.
  • Linux: a .deb package and an AppImage. macOS: BigText.app. Each release has SHA256SUMS.txt.

Which file do I need?

Platform File
Windows 10 / 11 (recommended) bigtext-setup-windows-x64.exe — installer with “Open with”, the Explorer context-menu entry and a Start menu shortcut
Windows, portable bigtext-windows-x64.zip — unzip and run bigtext.exe
Linux x64, most distributions bigtext-linux-x64.AppImage — chmod +x, then run it
Debian / Ubuntu bigtext-linux-x64.deb — sudo apt install ./bigtext-linux-x64.deb
Linux x64, plain binaries bigtext-linux-x64.tar.gz
macOS, Apple Silicon bigtext-macos-arm64.app.zip — BigText.app; unsigned: right-click → Open the first time
macOS, Intel bigtext-macos-x64.app.zip — same as above
macOS, plain binaries arm64 · x64 — run xattr -d com.apple.quarantine bigtext once

With Rust installed: cargo install bigtext.

Upgrading

There is no 0.4.0 release: that tag's Windows build failed a test, so 0.4.1 is the first 0.4 version.

BigText 0.2.0 and later offer this version themselves (or use Help → Check for updates…). From 0.1.x, run the new installer or replace the portable bigtext.exe. Settings, recent files and open tabs are kept.

Ctrl+D now adds a cursor at the next occurrence of the selected word; Duplicate line is Ctrl+Shift+D (rebind it in Help → Keyboard shortcuts).

The full list of changes is in CHANGELOG.md.

Full Changelog: v0.3.0...v0.4.1