Git Log Formatter

Parse and visualize git log output with commit graph, branch structure, and customizable display format.

  1. Home
  2. Utility
  3. Git Log Formatter

Tip: run git log --all --oneline --graph --decorate in your terminal and paste the output above.



Paste git log output above or click "Load Sample" to see formatted results.

Format Instructions

Supported Input Formats

  • git log --oneline --graph — branch graph + short hash + message
  • git log --oneline — plain short log
  • git log --pretty=format:"..." — custom format

View Modes

  • Graph View — Visual branch graph with colored commit nodes
  • Compact View — Condensed list with hash and message
  • Detailed View — Full info with author, date, and refs
  • Raw Parsed Data — Debug view with parsed commit data

What Is Git Log Formatting?

Git log formatting transforms the output of git log commands into visually structured views that make commit history easier to understand. The raw git log output — especially with branch graphs — can be dense and hard to read. This tool parses that output and presents it in multiple formats: a visual graph view with colored branch lines, a compact list view, a detailed view with author and date information, and raw parsed data for debugging.

Developers use this tool to visualize repository history, understand branching and merging patterns, review commit sequences, and share formatted logs with team members. It supports input from git log --all --oneline --graph --decorate and other common format options.

How to Use This Tool

  1. Run git log in your terminal — Execute git log --all --oneline --graph --decorate in your repository.
  2. Copy the output — Select and copy the entire git log output from your terminal.
  3. Paste into the input area — Paste the output into the text area. Click "Load Sample" to see a demo.
  4. Choose a view mode — Select Graph View, Compact View, Detailed View, or Raw Parsed Data.
  5. Customize and export — Adjust the color scheme and max commits, then copy or export as .txt.

Frequently Asked Questions

What git log command should I use?

The tool works best with git log --all --oneline --graph --decorate. You can also use git log --oneline for a simpler format, or custom --pretty=format:"..." outputs.

What view modes are available?

Four modes: Graph View shows colored branch lines and commit nodes; Compact View shows a condensed list; Detailed View includes author, date, and refs; Raw Parsed Data shows the parsed commit objects for debugging.

Can I change the branch colors?

Yes. The Color Scheme dropdown offers Auto (branch-based coloring), Rainbow (rotating colors), and Monochrome (single color) options.

Is my git data sent to a server?

No. All parsing and formatting is performed locally in your browser. Your git log data never leaves your device.

Can I export the formatted output?

Yes. Click "Copy Output" to copy the formatted result to your clipboard, or "Export .txt" to download it as a text file.

Last updated: 9 Jul 2026