Margin for iPhone, iPad and iPhone Duo

Code review,
by hand.

Margin turns pull requests into paper. Circle the lines that matter, write in the margin, strike what should go. With your finger on iPhone, or Apple Pencil on iPad and iPhone Duo, the way you’ve always marked up a printout.

Free for iPhone and iPad. Works with GitHub and Bitbucket. No sign-up.

Margin on iPad: a pull request diff with a handwritten comment and a suggested line removal

How it works

Mark it up like paper.

No menus, no tiny buttons. Margin reads your ink and turns it into a real review comment, on the right lines.

actor RateLimiter { struct Limit: Sendable { var perMinute: Int var burst: Int } private var buckets: [String: Bucket] func check(key: String) async -> Bool { var bucket = buckets[key] ?? Bucket() bucket.refill(at: .now) print("debug", bucket.tokens) guard bucket.tokens >= 1 else { return false } 12131415 16171920 212223 needs a test! Your comment BLOCKING This needs a test. Suggestion Remove line 22 Explain line 21 Refills tokens for the time since the last request, up to the burst.
  1. 1

    Bracket or circle to select.

    Draw a bracket in the gutter or a loop around the code. Margin snaps it to the exact lines, even across a long function.

  2. 2

    Write in the margin.

    Your handwriting becomes a typed comment on those lines. It’s recognised on-device, tuned to the names in the diff, and tagged blocking or nit.

  3. 3

    Strike to suggest a removal.

    Cross out a line and Margin drafts a suggestion to remove it. Strike and write over it to suggest a replacement.

  4. 4

    Draw a “?” to understand.

    A question mark asks for a plain-language explanation of the code. Only you see it, so you can ask the author a better question.

Every device

Review wherever the PR finds you.

One app for iPhone, iPad and iPhone Duo. Your accounts follow you through iCloud Keychain, so the next device is ready with no setup.

Margin on iPhone: a diff with comments

iPhone

Get a notification when someone asks for your review, read the diff and mark it up with your finger. The widget keeps your queue on the Home Screen.

  • Finger ink and voice notes
  • Review-request notifications
  • Widget, Siri and Shortcuts
Margin on iPad: a side-by-side diff

iPad

The full desk: side-by-side diffs, the file list beside the code, and Apple Pencil for the most natural review you’ve done.

  • Apple Pencil ink
  • Side-by-side diffs
  • Keyboard shortcuts
Margin on iPhone Duo, unfolded: the pull request beside its diff, with a handwritten comment

iPhone Duo

Skim the queue folded. Unfold for a full-size diff, take out Apple Pencil and leave your comments before your stop.

  • Folded and unfolded layouts
  • Apple Pencil ink
  • Side-by-side when open

Apple Intelligence

Smart help.
Your code stays put.

Every assist runs on the device’s own model. Your code is never sent to a server, and you can turn it all off in Settings.

Needs a device with Apple Intelligence: iPhone 15 Pro or later, or iPad with M1 or A17 Pro or later. On other devices, Margin uses simpler built-in rules for tags and summaries.

Tidy handwriting

Quick scribbles become clear, polite comments. It never adds details you didn’t write, and the original is one tap away.

Blocking or nit, tagged for you

Each comment gets a severity, so the author knows what must change before merging.

Explain any code

Circle unfamiliar lines and get a short explanation with things worth checking.

Margin explaining the selected lines on-device

Your summary, drafted

Margin writes the review summary from your comments and suggests a verdict. You edit, then send.

The submit sheet with a drafted review summary and Request changes suggested

Features

Everything a review needs.

Built for the pull requests you actually get: big, busy and due before lunch.

Side-by-side diffs

Old on the left, new on the right, with long lines wrapped to fit. Ink works on both sides.

A side-by-side diff in Margin

Reply where the talk is

Answer existing threads inline. Replies go out with your review.

Replying to a comment thread

Voice notes

Talk through a tricky change. It’s transcribed on-device and posted as text.

Riskiest files first

Migrations, auth and config float to the top, so your attention goes where bugs hide.

GitHub and Bitbucket

Your review lands with line comments, suggestions and a verdict, the way each host expects.

Day or night

Carefully tuned light and dark themes, with syntax colours that stay readable under your ink. Drag to compare.

Margin in light mode
Margin in dark mode

Made for

The reviews you keep putting off.

The morning queue

Coffee, iPad, Pencil. Clear the PRs waiting on you before stand-up, riskiest files first.

The notification

A review request lands on your iPhone. Read the diff in line at the café, circle the bug with your finger, send.

The mentor

Handwritten notes and voice notes feel human. Tidy keeps them clear, and severity tags show what really matters.

The big refactor

Side-by-side diffs, “explain this” for unfamiliar code, and a drafted summary when you’re done.

Your code goes from your Git host to your device.
Margin never reads or keeps it.

  • Code stays off Margin’s server. The app reads and reviews straight from GitHub or Bitbucket.
  • Tokens in your Keychain. Synced by iCloud Keychain to your own devices. Margin never stores them.
  • On-device intelligence. Handwriting, voice and Apple Intelligence all run locally.
  • Optional notifications, without your code. Margin’s server keeps only which PR changed and drops the rest. Your device fetches the title itself.
  • No sign-up, no tracking. The app has no ads or analytics. Crash reports only if you choose to send them.

Pricing

Try every feature, free.

No account to create. Margin uses your App Store account, and you can cancel any time.

Free

$0

  • A monthly allowance of reviews, with ink and Apple Intelligence
  • One linked account
  • Unlimited reading and drafting
  • Review-request notifications
  • Widget, Siri and Shortcuts

Margin Pro

$4.99/month

or $39.99 a year · 1 week free

  • Unlimited reviews
  • Apple Intelligence on every review
  • Every notification: replies, approvals, failed checks
  • Several accounts across GitHub and Bitbucket
Margin app icon

Review your next PR by hand.

Free on the App Store for iPhone and iPad. Connect GitHub or Bitbucket, or try it on sample pull requests first.

Download on the App Store

iPhone with finger ink · iPad with Apple Pencil · iPhone Duo with Apple Pencil