Utilities Web

Text Diff Viewer

Compare and display text differences

How to Use

  1. Paste the original text in the "Before" field
  2. Paste the changed text in the "After" field
  3. The difference is automatically color-coded
  4. You can switch between "Unified View" and "Side by Side" display
  5. You can swap before and after with the "Swap Inputs" button

Use Cases

  • When checking changes during code review
  • When comparing changes in configuration files
  • When visually checking corrections in documents
  • When comparing configuration values before and after deployment to check differences

Frequently Asked Questions

What algorithm is used to calculate the difference? ▼

We use a line-by-line difference detection algorithm. Added lines are displayed in green, deleted lines in red, and unchanged lines are displayed as is.

Can I compare large text? ▼

Yes, large text can be compared as long as it is within the browser's memory range. However, for extremely large text exceeding tens of thousands of lines, processing may take time.

Can I copy the difference results? ▼

Yes, you can copy the difference results to the clipboard with the "Copy" button. It is copied in unified view format.

Related Tools

JSON Formatter & Validator

Format, minify, and validate JSON

JSON to Spreadsheet Conversion

Convert JSON data to an Excel-style grid, select cell ranges and copy

Base64 Encode/Decode

Base64 conversion of text and files

URL Encode/Decode

URL encoding conversion

Regex Tester

Real-time regex testing and matching

Base Converter

Convert numbers between any bases such as binary, octal, decimal, and hexadecimal

Bit Operation Simulator

Visually simulate bitwise operations

SLA Uptime Calculator

Calculate downtime from SLA uptime

IP Address/Subnet Calculator

Calculate IPv4/IPv6 subnets, network addresses, and host ranges

Cron Timeline

Visualize crontab execution schedules as timeline, calendar, and Gantt chart

Bloom Filter Simulator

Visually simulate Bloom filter behavior and calculate optimal parameters

systemd Timer Generator

Interactively generate systemd .timer / .service unit files via GUI

UART Baud Rate Calculator

Calculate divisor ratio, error, and register values from clock frequency and target baud rate

PWM/Timer Configuration Calculator

Calculate and reverse-calculate PWM frequency, duty, resolution, and register settings (PSC/ARR/CCR) from clock and prescaler/counter values

Timer Interrupt Period / Clock Divider Calculator

Calculate interrupt period and frequency from clock, prescaler, and count value. Reverse-calculate optimal PSC/ARR from target period

ADC Resolution, LSB, and Voltage Calculator

Calculate LSB voltage, quantization error, dynamic range, code↔voltage conversion, ENOB, and oversampling from resolution and reference voltage