Paste or type to begin

Original on the left, modified on the right.

Compare two Lua files

Compare Lua source code with full syntax highlighting. Perfect for reviewing game scripts, comparing Neovim configs, or tracking changes in embedded Lua. Supports tables, metatables, coroutines, and all Lua features.

Features

Frequently asked questions

Can I compare Neovim configs?
Yes. Lua-based Neovim configuration files can be compared here.
Can I format Lua code?
Auto-formatting is not available for Lua, but the diff highlights all changes clearly.
Does it support LuaJIT?
The syntax highlighter covers standard Lua syntax which is compatible with LuaJIT.

More diff tools