Getting Started

Twofold is a modern online diff tool. It supports three input modes:

  • Folder: Compare entire directory structures.
  • File: Compare two files.
  • Text: Compare pasted or typed text.

Open the App

Features

🔒 Privacy First

Everything runs locally in your browser. Your files never leave your device.

⚡ High Performance

Web Workers power heavy operations. Efficient for large files and directories.

🌐 Modern APIs

Uses File System Access API when available, with graceful fallbacks.

📱 Responsive UI

Optimized for desktop and mobile with a clean, modern interface.

Input Modes

📁 Folder Mode

Recursively scan and compare two folders. Includes:

  • Added/removed/modified files
  • Rename and move detection (planned)
  • Scales to large projects
  • Configurable ignore rules

📄 File Mode

Compare two files:

  • Line/word/character-level text diff
  • Convert files to text

📝 Text Mode

Paste or type text:

  • Syntax highlighting
  • Smart indentation
  • Visible whitespace (planned)
  • Import from file

FAQ

Q: Which browsers are supported?

A: Best in Chromium-based browsers with File System Access API. Others use fallbacks.

Q: How large can files be?

A: Bound by browser memory. As guidance, single files under 100MB and folders under ~50k files.

Q: Which file types are supported?

A: Text files. Image and binary comparisons are not currently documented.

Q: Are my files uploaded to servers?

A: No, absolutely not. Twofold runs entirely in your browser. Your files never leave your device and are never uploaded to any server. For more details, see our Privacy Policy.

Feedback

Have questions, suggestions, or found a bug? We'd love to hear from you!

Send us an email at:

[email protected]

We'll get back to you as soon as possible. Thank you for helping improve Twofold!