← All tools

Git Patch Viewer: Unified Diff Files & Hunks

Read pasted unified diffs with file and hunk navigation, line numbers and additions or deletions locally, without applying a patch or running Git.

Enabling local controls…

1. Paste a text unified diff

Local processing; up to 1 MiB UTF-8. No Git execution, patch application or path access. Rejects binary, combined, incomplete/overfull hunks and metadata-only patches. Patches may contain secrets; inspect before sharing.

2. Files, hunks and line numbers

Paste a complete diff or load a sample, then view.

How to use this tool

Paste a supported text patch or load the example. Check file paths, hunk ranges and changed lines, then export the readable report for your own review.

When not to use it

A readable patch is not proof it applies, compiles or is safe. Binary and combined diffs are outside this tool; paths are labels, never filesystem commands.

Read the guide →