Make logs readable again.
A browser extension for Chrome and Firefox, for developers and platform engineers: a fast log viewer that also catches leaked secrets, dark mode for any site, and the text tools you keep opening random websites for (JSON, JWT, Base64, timestamps, cron). All of it runs locally; no data leaves your browser.
➜ Add to Chrome · ➜ Add to Firefox — free
Open any raw log (a .log file, "View raw logs" in GitHub Actions, Jenkins console output, kubectl logs
piped to a file…) with Ctrl+Shift+L (⌃⇧L on Mac) or from the popup:
- Levels in colour (
ERROR,WARN,INFO,DEBUG,TRACE) with counters and one-click filters - Reads the format you have: Spring and Logback, Python, Go (slog, zap, logrus), .NET and Serilog, Rails,
Laravel, PHP, nginx and Apache (access logs get their level from the status: 5xx is an error, 4xx a warning),
PostgreSQL, MySQL, Redis, MongoDB, Kubernetes (klog, container log files), Docker's json-file, syslog and
Android logcat. In CI logs also npm, compilers and linters (
error TS2304,main.c:12:5: error:), failed tests (FAIL,FAILED) and GitHub Actions'::error - Stack traces stay with their error: Java
at …/Caused by:, Python tracebacks and Go goroutines are grouped with the entry above, so filtering byERRORshows the whole trace - Search as plain text or regex, case-sensitive if you like, with highlighted matches and, like
grep -C, a few lines of context around each match - JSON logs (Logback/Logstash, pino, bunyan, zap…) shown as
time LEVEL message {fields}, including records pretty-printed over several lines - Leave words out and mix it all in one search:
service=payments timeout -healthzkeeps the payments lines about timeouts, without the health checks;-"two words"works too, and an error goes with its stack trace - Filter by fields:
level=error service=payments duration>500, on JSON logs andkey=valuelines alike, with!=,>,<,*wildcards (a "quoted" value is matched as it is), nested paths (http.status>=500) and units (duration>1.5s) - Time range: drag across the timeline to keep only the entries from that time
- Highlights: press Enter in the search box to keep a term highlighted in its own colour (up to five)
- Pods and containers:
kubectl logs --prefixanddocker compose logsget a coloured chip per pod - Pasted text and files: open a log pasted into the popup, or a
.log/.gzfile (unpacked in the browser); drop a file onto any viewer to open it - Several files as one log: drop or choose
api.logandworker.logtogether and they are merged in order of time, with the file name in front of each line and a chip per file, like pods. Stack traces stay with their entry, and each file keeps its own order - Save the visible lines as a file
- Bookmarks and notes (
m,b): Report copies them as Markdown for a ticket, with times and links - Field statistics: the most common values of a field (
status: 200 ×1520, 502 ×37), one click to filter; for numbers and durations also min, median, p95, p99 and max (took: p95 1.2s), one click to see the slow ones - Follow one request: click a
traceId,request_idor UUID in a line to see that request in every pod - Error groups: each different error once, with its count, pods and first and last time; sorted by count or
by first seen, with the earliest error marked: the one
pool exhaustedis often the cause of 900 timeouts - Follow a log that is still being written: new lines are added every 3 seconds
- JSON table with the columns you choose, saved as CSV, and local time instead of UTC
- CI steps with durations: the steps of GitHub Actions, GitLab, Azure DevOps, Buildkite, Jenkins and Docker
BuildKit logs folded like on the CI's own page, each with how long it took (
· 3m 12s) and a ✖ on the failed ones, which start open - Failed tests of a CI log in one list, from pytest, Jest, Vitest, Go, Maven, Gradle and RSpec, in the order they failed, the first one marked, with the assertion message; click one to go to its line
- ANSI colours from CI and Docker logs, your own level words (
ALERT→ ERROR), and a light theme - Compare this log with another one, e.g. a passing and a failing CI run, with the new errors listed first (see below)
- Pauses between entries:
+5.5snext to lines where the app stalled - Hide lines like this (
x): the health checks that are nine lines in ten go away in one key, in every pod, and the counts, timeline, groups and links follow; a chip orXbrings them back. A 503 the log marks ERROR is not hidden with the 200s - Collapse repeats: 500 ×
retry 17 of 50 for job 8123becomes one line with a×500badge - Error timeline: a histogram of entries, errors and warnings over time; click a bar to jump there
- Minimap: every error, warning and bookmark marked on a strip next to the scrollbar; click to go there
- Line inspector: click a line to read it in full, with its time, pause and, for JSON records, all fields
- Links to lines: click a line number to copy a
#L120link that opens the viewer right on that line; Shift+click a second line to select everything in between (#L120-L135) and copy those lines or a link to them - Links to a view: the address keeps the levels, the search, the time range and the pods, so the link you
send (🔗 or
y) opens exactly what you see: "the errors from the payments pod after 10:05", not the whole log - Show around and go to a time:
cshows a filtered line among all the lines (a chip puts the filters back),tjumps to a time like10:05:30from an alert - Keyboard: next error (
e) or warning (w), search (/) and the next or previous match (n/N),j/kbetween lines,J/Kto select more of them,g/Gto the first or last;?lists all the keys - Open automatically on sites you choose (opt-in per site, only plain-text pages that look like logs)
- Fast on 150k+ lines: logs over 1 MB are parsed in a Web Worker with a progress bar, and only the rows on screen are in the DOM
Credentials in logs are how leaks start. Logbeam marks every line that shows one: AWS keys, GitHub, GitLab,
Slack and Stripe tokens, Google API keys, JWTs, private keys, postgres://user:password@… URLs and
password=… / "apiKey": "…" settings (placeholders like ${DB_PASSWORD} are ignored).
- 🔑 next to the line and the value highlighted;
sjumps to the next one - Mask hides the values on screen and in everything you copy:
AKIA**************** - Mask secrets in the right-click menu cleans up any selected text or input before you paste it into a chat
Toggle it from the popup or with Ctrl+Shift+K (⌃⇧K on Mac). Pages that already have a dark theme are detected and left alone, and turning it off never reloads the page. "Remember for this site" asks for access to that one site only, and from then on the dark theme is applied before the page paints, so there's no white flash. Photos and videos keep their real colours.
Select text on any page → right-click → Logbeam, or paste it into the popup:
| Tool | Example |
|---|---|
| Mask secrets | password=hunter2hunter2 → password=******** |
| Format / minify JSON | {"a":1} → pretty-printed, or back to one line |
| Decode JWT | header, payload, iat/exp as dates, "valid for another 59m" / "EXPIRED 3h ago" |
| Base64 encode / decode | UTF-8 safe, understands URL-safe Base64 without padding |
| URL encode / decode | a b&c ⇄ a%20b%26c |
| Timestamp ⇄ date | 1700000000 → 2023-11-14T22:13:20Z, and back |
| Explain cron | 0 */15 * * * * → "Every 15 minutes"; catches */900 in the seconds field |
| Case conversion | userProfileId ⇄ user_profile_id ⇄ user-profile-id ⇄ USER_PROFILE_ID |
| Sort / de-duplicate lines |
In an input, textarea or rich editor, Replace selection writes the result back in place (undo works).
Open Compare from the popup, or use Compare… in the right-click menu (or the log viewer's Compare button) on one text and then on the other:
- Logs: a line diff with the changed words marked and unchanged parts folded. Ignore timestamps, IDs and
durations lines up two runs of the same job, so
2026-10-03T09:00:20Z Tests: 120 passedagainst2026-10-04T11:30:20Z Tests: 119 passed, 1 failedshows only the test result as changed - New errors: above the diff, the errors that the second run has and the first one doesn't (and those that are gone), matched by message and stack with times and IDs ignored; click one to jump to it
- JSON: compared by key, so key order doesn't matter, with a list of changed paths (
$.env.LOG_LEVEL,$.ports[1]) and exact comparison of numbers too big for JavaScript (12345678901234567890) - Open or drop files, swap sides, ignore whitespace, mask secrets in the output
Logbeam has no server and no analytics, and it makes no network requests.
| Permission | Why |
|---|---|
activeTab, scripting |
Run the log viewer or a text tool on the tab you clicked, only when you ask |
contextMenus |
The right-click menu |
storage |
Remember your per-site settings |
| optional host access, per site | Only when you turn on "Remember dark mode" or "Open logs automatically" for a site, and only for that site |
Logbeam never asks for access to all sites up front. See the privacy policy.
From the Chrome Web Store: Logbeam on the Chrome Web Store, one click and it updates itself. Works in Chrome, Edge, Brave, Opera and other Chromium browsers. From Firefox Add-ons: Logbeam on addons.mozilla.org (Firefox 140 or newer). The dark-mode shortcut there is Ctrl+Shift+., because Ctrl+Shift+K opens Firefox's Web Console.
From source:
npm ci
npm run buildThen open chrome://extensions, turn on Developer mode, click Load unpacked and choose the dist/
folder. To open local file:// logs, also enable Allow access to file URLs on the extension's details page.
In Firefox, open about:debugging#/runtime/this-firefox, click Load Temporary Add-on and pick
dist-firefox/manifest.json.
npm run watch # rebuild on change, then press ↻ on chrome://extensions
npm test # unit tests (Vitest)
npm run e2e # load the extension into Chromium with Playwright, click through it, save docs/*.png
npm run e2e:firefox # the same for the Firefox build, with Selenium (needs Firefox and geckodriver)
npm run lint:firefox # the checks addons.mozilla.org runs on upload
npm run check # lint + format + typecheck + unit tests + build (what CI runs)
npm run package # logbeam-<version>.zip (Chrome), logbeam-firefox-<version>.zip, sources for AMO
npm run store-assets # Chrome Web Store screenshots and promo tiles from docs/*.png
npm run demo-gif # docs/demo.gif for this README, recorded in Chromium
npm run icons # regenerate the PNG icons (drawn in code, no image editor needed)Releases: bump the version, add a CHANGELOG.md entry and push a vX.Y.Z tag. The release workflow runs every
check including the end-to-end test, attaches the ZIPs to a GitHub Release, and uploads them to the Chrome Web Store
and addons.mozilla.org for review (it can also be started from the Actions tab). Setup and details: docs/PUBLISHING.md.
src/
├── background.ts service worker: context menu, keyboard shortcuts, permission events
├── content/
│ ├── logViewer.ts virtualized log viewer: filters, inspector, timeline, secrets, bookmarks, #L links
│ ├── viewerState.ts the viewer's state, options and fixed sizes
│ ├── timelineView.ts the error timeline, with dragging to pick a time range
│ ├── fieldStatsPanel.ts top values and percentiles of a field, in the inspector
│ ├── errorGroupsPanel.ts the Groups panel: each different error once
│ ├── testsPanel.ts the Tests panel: the tests that failed, in order
│ ├── rangePanel.ts the inspector for a range of lines
│ ├── dom.ts el(): DOM from nodes, never innerHTML (Trusted Types)
│ ├── viewerStyles.ts its CSS, dark and light
│ ├── shortcuts.ts the ? list of keys
│ ├── parseAsync.ts Web Worker parsing with a chunked main-thread fallback
│ ├── parseWorker.ts the parse worker; searchWorker.ts runs regex search with a timeout
│ ├── autoOpen.ts opt-in per site: opens plain-text logs automatically
│ └── panel.ts result panel for the text tools (Shadow DOM, no style clashes)
├── lib/ pure logic, fully unit-tested
│ ├── logs.ts incremental parser: levels, timestamps, JSON, stack traces, pods, filters, repeats
│ ├── ansi.ts ANSI colour codes → plain text and colour spans
│ ├── fields.ts field filters: level=error duration>1.5s
│ ├── insights.ts bookmark reports, field statistics and percentiles, error groups, JSON table
│ ├── tests.ts failed tests of pytest, Jest, Vitest, Go, Maven, Gradle and RSpec in a CI log
│ ├── diff.ts line and JSON diff for Compare
│ ├── secrets.ts credential detection and masking
│ ├── regexSafety.ts rejects regexes prone to catastrophic backtracking
│ ├── timeline.ts error/warning histogram
│ ├── viewLink.ts the view in the address: #L120-L135&levels=ERROR&q=…
│ ├── segments.ts overlapping highlights (search matches inside secrets)
│ ├── files.ts .log and .gz files
│ ├── transforms.ts JSON, JWT, Base64, URL, timestamps, case, lines, mask secrets
│ └── cron.ts cron → plain English (5 and 6 field, macros, names)
├── shared/
│ ├── settings.ts the options, in chrome.storage.sync
│ ├── i18n.ts translations from _locales
│ ├── theme.ts dark / light / like the system
│ ├── darkMode.ts per-site dark mode with dynamic content scripts
│ ├── autoOpen.ts per-site auto-open registration
│ └── inject.ts on-demand script injection
├── popup/ toolbar popup
├── viewer/ the viewer page for pasted text and files
├── diff/ Compare
├── options/ Settings
└── dark.css the dark theme itself
- Least privilege. Everything works through
activeTabon a click or a shortcut. Remembered dark-mode sites usechrome.permissions.requestfor a single origin pluschrome.scripting.registerContentScripts, so the extension never holds<all_urls>. - Manifest V3 service worker. The worker can be stopped at any time, so state such as remembered sites,
tab-only dark mode and pending permission requests lives in
chrome.storage, not in variables. - Trusted Types safe. The viewer and panel build DOM nodes rather than assigning
innerHTML, so they work on sites that enforce Trusted Types, like GitHub and Google. - Big logs off the main thread. A content script can't start a worker from the extension's own URL (different origin), so the worker is built separately, inlined as a string and started from a Blob. Pages whose CSP blocks that fall back to parsing in chunks between frames. The e2e test covers both paths.
- Pure core. Parsing, secret detection and transforms have no DOM or
chrome.*dependencies, which keeps them easy to test: 299 unit tests, plus over 150 end-to-end checks in a real Chromium and 28 in Firefox.
- Open
text/plainlogs in the viewer automatically (opt-in per site) - Secret detection and masking
- Parsing large logs in a Web Worker
- Settings page (gap threshold, your own secret patterns, which tools to show)
- Field filters, time ranges, highlights, pods,
.gzfiles - Bookmarks and notes, field statistics, error groups, Follow, JSON table, local time
- Ukrainian for the popup and menus (help translate the rest)
- Diff two JSON documents or two logs
- Multi-line JSON log records
- Firefox build
- ANSI colours, your own level words, light theme, percentiles for durations
- Ukrainian for the log viewer, Compare and Settings,
j/k, context around matches, CSV (thanks to our first contributors) - Links that open the same view: filters in the link, ranges of lines
- More languages (#2)
- Jump between search matches (
n/N), one search for fields and words, hide lines like this, a minimap, several logs as one - More: the ideas list and the open issues
Ideas, bug reports, translations and pull requests are welcome: see CONTRIBUTING.md and the good first issues. Security problems: SECURITY.md.
The story behind it: How to stop a user's regex from freezing a browser tab. Made by Andrii Zhukovskyi.








