Skip to main content

Developer & Code

Diff Code Processor

Process code with Diff and review the transformed output. Enter the code, choose the processing options, then copy the result.

Tool workspace

Your input stays in this browser.

Add the required input to continue.

Needs input

You can run the tool again after any change.

Input

Options

Relevant for word and line

Your result appears here

Process code with Diff and review the transformed output. Enter the code, choose the processing options, then copy the result.

This tool runs open-source code from CyberChef by GCHQ (Apache License 2.0). See open-source credits.

Diff Code Processor processes developer text in your browser. For a correct result, confirm which value is the original.

a difference view marking changed lines Processing runs in the browser.

Instructions

  1. Provide text or data for this tool.
  2. Compare the two supplied code values.
  3. Review the output against a small known Diff Code Processor example.
  4. Keep the source code or markup until the result passes its target parser.

Example

Input: old line new line

Settings: Diff Code Processor: compare the two supplied code values

Result: a difference view marking changed lines

Limits

  • Diff Code Processor: a diff shows changes but does not judge correctness
  • Diff Code Processor: The operation does not detect a different language automatically.
  • Diff Code Processor: Processing stays in the browser.