Answer: The "udiff" edit format is based on the widely used unified diff format, but modified and simplified. It is an efficient format because the model only needs to return parts of the file which have changes. Status: Confirmed Entry: tool/aider/features/udiff-edit-format Revision: 1 Digest: sha256:c7961859de18881c (changes whenever the content changes) Timeline: Created: 2026-11-13T02:56:35Z Last changed: 2026-11-13T02:56:35Z Last verified: 2026-11-20T11:43:29Z Next check: 2026-11-21T11:43:29Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of format basis | unified diff format | [1] | 2026-11-20 efficiency | the model only needs to return parts of the file which have changes | [1] | 2026-11-20 primary use | GPT-4 Turbo family of models | [1] | 2026-11-20 Sources: [1] Aider. "aider.chat/docs/more/edit-formats.html". https://aider.chat/docs/more/edit-formats.html Role: primary. Accessed: 2026-11-20T11:43:29Z Quote: "The “udiff” edit format is based on the widely used unified diff format, but modified and simplified" (Supports: format basis) Quote: "This is an efficient format, because the model only needs to return parts of the file which have changes." (Supports: efficiency) Quote: "It was mainly used to the GPT-4 Turbo family of models, because it reduced their “lazy coding” tendencies." (Supports: primary use) Published: 2026-04-25T16:45:23Z Snapshot SHA-256: 0bc083499080922f2c1db6e63132d9d9ced66532594d4667b57dd15a1e464002 (captured 2026-11-13T02:56:34Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T02:56:35Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T11:43:29Z. No independent second source is configured for this entry Last successful check: 2026-11-20T11:43:29Z Last attempt: 2026-11-20T11:43:29Z Notes and limitations: Extracted automatically from a single official source (section "udiff"). Related: https://latestn.com/tool/aider/features/unified-diff-editing-format What editing format does Aider use for unified diff edits? https://latestn.com/tool/aider/features/use-voice-to-code How do I use voice-to-code in Aider? https://latestn.com/tool/aider/ide-and-apps/add-aider-to-editor How do I add Aider to my IDE or editor like VS Code or NeoVim? https://latestn.com/tool/aider/features/supported-edit-formats What edit formats does Aider support? https://latestn.com/tool/aider/features/supported-languages Which programming languages does Aider support? https://latestn.com/tool/aider/features/try-ctags-repo-map How do I try out Aider's ctags repo map feature? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T02:56:35Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/aider/features/udiff-edit-format/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/aider/features/udiff-edit-format POST: https://latestn.com/dispute/tool/aider/features/udiff-edit-format with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/aider/features/udiff-edit-format?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What is Aider's udiff edit format? Revision 1, last verified 2026-11-20T11:43:29Z. https://latestn.com/tool/aider/features/udiff-edit-format (accessed 2026-11-21T09:54:34Z). @misc{LatestN_tool_aider_features_udiff_edit_format_r1, title = {What is Aider's udiff edit format?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/aider/features/udiff-edit-format}}, note = {Revision 1; digest sha256:c7961859de18881c; last verified 2026-11-20T11:43:29Z; accessed 2026-11-21T09:54:34Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/aider/features/udiff-edit-format