Git Log Formatter & Prettifier
Guide
Git Log Formatter & Prettifier
Paste raw output from git log and instantly turn it into a clean, scannable HTML table, a copy-ready Markdown table, or a structured JSON array. The tool detects the most common log formats (--oneline, --medium, and --pretty=fuller) automatically and normalizes the date column, so you can drop the result straight into a release note, a pull request description, or an internal dashboard.
How to Use
- Run
git login your terminal with whatever flags you prefer and copy the output. - Paste it into the Git Log Output textarea on the left.
- Leave Input Format on Auto-detect, or pick the exact format you used.
- Pick a Date Format (ISO, short, RFC 2822, or relative) if you want to normalize timestamps.
- Choose your Output as target: HTML table, Markdown table, or JSON array.
- Use the copy button to grab the source, the download button to save a file, or read the live HTML preview above the source code.
Features
- Auto-detect formats – Recognizes
--oneline,--medium, and--pretty=fulleroutput without configuration. - Three output targets – Generate a styled HTML table, a GitHub-flavored Markdown table, or a JSON array in one click.
- Live HTML preview – See the rendered table above the source so you know exactly what your readers will see.
- Configurable date formats – Convert Git’s default date strings to ISO 8601, short date, RFC 2822, or human-readable relative time.
- Hash, author, date, subject columns – Automatically detected from the log block so the output stays compact when fields are missing.
- Refs and merge commits – Preserves branch and tag refs from the header, plus the
Merge:line when present. - Client-side only – Your commit messages stay in the browser; nothing is uploaded or stored.
FAQ
-
What is the difference between the Git log oneline and medium formats?
The
--onelineformat prints one commit per line as<short-hash> <subject>, optionally followed by ref names in parentheses. The default--mediumformat prints a multi-line block per commit with the full hash on the first line and labeledAuthor:andDate:headers, followed by an indented commit message. Medium is more verbose but preserves authorship and timestamps; oneline is dense and ideal for scanning history. -
Why does Git print dates in a non-ISO format by default?
Git inherits its default date format (RFC 2822 style, e.g.
Tue Oct 10 13:55:36 2024 -0700) from older Unix mail conventions, where commits were originally exchanged as email patches. ISO 8601 is more machine-friendly, which is why Git also supports--date=isoand a number of other formats. Tools that consume log output typically normalize the date so downstream systems can sort or compare commits reliably. -
What does the short hash represent in a Git commit?
Every Git commit is identified by a 40-character SHA-1 (or SHA-256 in newer repos) digest of its contents. The short hash is simply the first 7 (or more) characters of that digest. Git automatically expands as many characters as needed to remain unambiguous inside a given repository, so the short hash is a compact but still uniquely identifying reference to the commit.
-
What is a merge commit and how does it differ from a regular commit?
A regular commit has exactly one parent and represents a linear change on top of an existing history. A merge commit has two or more parents and joins two diverging branches back together. In
git log --medium, merge commits are marked with an extraMerge:header that lists the parent hashes, which distinguishes them from feature commits. -
Why are HTML and Markdown tables useful for sharing commit history?
Raw
git logoutput is monospaced text that does not render well in most documentation systems. Converting it to an HTML or Markdown table gives each commit field its own column, lets readers scan many commits at once, and makes it possible to embed history into release notes, changelogs, wikis, or pull request descriptions where Markdown and HTML are first-class citizens.
Install Our Extensions
Add IO tools to your favorite browser for instant access and faster searching
恵 Scoreboard Has Arrived!
Scoreboard is a fun way to keep track of your games, all data is stored in your browser. More features are coming soon!
Must-Try Tools
View All New Arrivals
View AllUpdate: Our latest tool was added on Jun 13, 2026
