πŸ”§ JSON Patch Tool
β˜…β˜…β˜…β˜…Β½ 4.7 (312 ratings)
πŸ”’ Client-side β€” Your data never leaves your browser βœ… 100% Free β€” No signup, no limits ⚑ Instant β€” No server processing

β˜… β˜… β˜… β˜… β˜…
Loading... Thanks for your rating!

Free online RFC 6902 JSON Patch editor - add / remove / replace / move / copy / test operations

πŸ“„ Source JSON Document

βœ… Patched Result

Waiting to apply patch...

πŸ› οΈ Patch Operations

Click "Add Operation" to create patch operations

πŸ“ JSON Patch Text (RFC 6902)

FAQ

Q1: What is JSON Patch?

JSON Patch is a standard format defined in RFC 6902 for describing changes to JSON documents. It uses atomic operations (add, remove, replace, move, copy, test) to precisely describe modifications, commonly used for partial updates in REST APIs (PATCH requests) instead of sending the full document.

Q2: How do I write JSON Pointer paths?

JSON Patch uses RFC 6901 JSON Pointer for element location. Paths start with /: root object is "", /name points to the name property, /skills/0 points to the first array element, /a/b points to nested properties. Special characters: ~ is escaped as ~0, / is escaped as ~1.

Q3: What is the test operation for?

The test operation verifies that a value at the specified path equals the given value. If values don't match, the entire patch fails and rolls back. This is useful for conditional updates β€” ensuring values match expectations before modifying, preventing concurrent modification issues.

❓ Frequently Asked Questions

Is JSON Patch Tool free to use?

Yes, JSON Patch Tool is completely free to use. No registration or login required β€” all features are available immediately.

Are there any usage limits for JSON Patch Tool?

JSON Patch Tool has no usage limits β€” it's free and unlimited. Since processing is done client-side, speed depends on your device. For very large files, we recommend processing in batches for the best experience.

Can I use JSON Patch Tool on my phone?

Yes. JSON Patch Tool is fully responsive and works on phones, tablets, and desktops. The interface adapts automatically to your screen size.

Do I need to install any software?

No. JSON Patch Tool is a web-based tool β€” just open it in your browser and start using it. No downloads, plugins, or extensions required.

How large a JSON file can I process?

Since processing is client-side, file size depends on your device memory. Files up to several MB typically process smoothly.