Cara membandingkan dua teks atau dokumen untuk menemukan bagian yang berubahHow to compare two texts or documents to find what changed
Kontrak direvisi, naskah diedit, atau daftar data diperbarui, tetapi tidak jelas apa saja yang berubah? Begini cara menyorot perbedaan dua versi teks per baris, kata, atau karakter tanpa membaca ulang semuanya.
A contract was revised, a manuscript edited or a data list updated, but it isn't clear what changed? Here is how to highlight the differences between two versions by line, word or character without rereading everything.
Di halaman ini
Membandingkan dua versi dokumen dengan mata telanjang melelahkan dan rawan terlewat. Satu angka di kontrak, satu kata di naskah, atau satu baris di daftar harga bisa berubah tanpa disadari. Padahal perubahan kecil seperti itu sering justru yang paling penting.
Bandingkan Teks di KASKOW menyorot bagian yang ditambah, dihapus, atau diubah dalam hitungan detik. Perbandingan berjalan di browser Anda, jadi dokumen kerja atau kontrak tidak diunggah ke server.
Kapan alat ini berguna
- Kontrak dan surat perjanjian yang dikirim balik setelah direvisi pihak lain.
- Naskah, artikel, atau skripsi setelah diedit pembimbing atau editor.
- Daftar harga, stok, atau data versi lama dan versi baru.
- Kode dan file konfigurasi sebelum dan sesudah diubah.
- Jawaban atau tugas yang dicurigai disalin dengan sedikit perubahan.
Langkah membandingkan dua teks
- Buka Bandingkan Teks.
- Tempel versi lama di kotak Teks asli dan versi baru di kotak Teks baru. Anda juga bisa mengeklik Muat file pada masing-masing kotak.
- Di Bandingkan per, pilih Baris, Kata, atau Karakter.
- Aktifkan Abaikan huruf besar/kecil atau Abaikan spasi bila perbedaan semacam itu tidak penting.
- Pilih tampilan Berdampingan atau Gabungan. Bagian yang ditambah dan dihapus langsung disorot, dan ringkasan jumlahnya tampil di atas hasil.
Bila kedua teks sama persis, muncul tanda Identik. Klik Tukar untuk membalik posisi teks asli dan teks baru.
Memilih mode yang tepat
| Mode | Cocok untuk | Contoh |
|---|---|---|
| Baris | Kode, daftar, data per baris | Daftar harga produk, file konfigurasi |
| Kata | Tulisan yang direvisi | Kontrak, artikel, skripsi, naskah |
| Karakter | Salah ketik kecil | Nomor rekening, kode produk, satu huruf yang berbeda |
Pada tampilan Berdampingan, nomor baris ditampilkan dan kata yang berubah disorot di dalam barisnya, sehingga Anda tidak perlu mencari perubahan di baris yang panjang.
Untuk kontrak dan dokumen hukum, pakai mode Kata lalu periksa setiap sorotan, terutama angka, tanggal, nama pihak, dan kata seperti "tidak", "wajib", atau "dapat". Satu kata bisa mengubah makna seluruh pasal.
Membandingkan dokumen PDF atau foto
Bandingkan Teks bekerja dengan teks. Untuk dokumen dalam bentuk lain, ambil dulu teksnya:
- PDF: salin teksnya, atau gunakan PDF ke Teks. Lihat juga cara mengambil teks dari file PDF.
- Foto atau hasil pindai: gunakan Gambar ke Teks (OCR). Lihat cara mengambil teks dari foto atau screenshot.
Hasil pengenalan teks dari foto bisa berisi salah baca kecil, jadi perbedaan satu karakter perlu dicek ulang ke dokumen aslinya.
Menyimpan dan membagikan hasil
Klik Salin (format diff) untuk menyalin perbedaan dalam format standar, atau tombol .diff untuk mengunduhnya sebagai file. Pada format ini, baris yang dihapus diawali tanda minus (-) dan baris yang ditambah diawali tanda plus (+), sehingga mudah ditinjau rekan kerja.
Pertanyaan yang sering muncul
Kenapa teks yang terlihat sama tetap dianggap berbeda? Biasanya karena spasi ganda, spasi di akhir baris, atau perbedaan huruf besar dan kecil. Aktifkan Abaikan spasi dan Abaikan huruf besar/kecil. Bila masih berbeda, mungkin ada karakter tak terlihat yang ikut tersalin; bersihkan dengan Slug & Pembersih Teks.
Bisa membandingkan teks yang sangat panjang? Bisa. Bila teks sangat panjang dan Anda memilih mode Karakter, perbandingan otomatis dilakukan per kata agar halaman tetap cepat.
Apakah teks saya dikirim ke server? Tidak. Perbandingan berjalan sepenuhnya di browser Anda.
Ingin mengecek jumlah kata setelah revisi? Gunakan Hitung Kata & Karakter.
Comparing two versions of a document by eye is tiring and easy to get wrong. One figure in a contract, one word in a manuscript or one line in a price list can change without anyone noticing. Yet small changes like these are often the ones that matter most.
Compare Text on KASKOW highlights what was added, removed or changed in seconds. The comparison runs in your browser, so work documents and contracts are never uploaded to a server.
When this tool helps
- Contracts and agreements sent back after the other party revised them.
- Manuscripts, articles or theses after a supervisor or editor has made changes.
- Price, stock or data lists, old version against new.
- Code and configuration files before and after a change.
- Answers or assignments suspected of being copied with small changes.
Steps to compare two texts
- Open Compare Text.
- Paste the old version into the Original text box and the new version into the Changed text box. You can also click Load file on each box.
- Under Compare by, choose Line, Word or Character.
- Turn on Ignore case or Ignore whitespace when those differences don't matter.
- Choose the Side by side or Unified view. Additions and removals are highlighted right away, with a count summary above the result.
If both texts are exactly the same, you see Identical. Click Swap to switch the original and changed texts.
Choosing the right mode
| Mode | Suits | Example |
|---|---|---|
| Line | Code, lists, line-based data | Product price lists, configuration files |
| Word | Revised writing | Contracts, articles, theses, scripts |
| Character | Small typos | Account numbers, product codes, a single different letter |
In the Side by side view, line numbers are shown and changed words are highlighted within their line, so you don't have to hunt for a change in a long line.
For contracts and legal documents, use Word mode and check every highlight, especially figures, dates, party names and words such as "not", "must" or "may". One word can change the meaning of a whole clause.
Comparing PDFs or photos
Compare Text works with text. For documents in other forms, extract the text first:
- PDF: copy the text, or use PDF to Text. See also how to extract text from a PDF file.
- Photos or scans: use Image to Text (OCR). See how to get text from a photo or screenshot.
Text recognised from photos can contain small misreadings, so double-check single-character differences against the original document.
Saving and sharing the result
Click Copy (diff format) to copy the differences in a standard format, or the .diff button to download them as a file. In this format, removed lines start with a minus sign (-) and added lines start with a plus sign (+), which makes them easy for colleagues to review.
Frequently asked questions
Why are texts that look the same still marked as different? Usually because of double spaces, trailing spaces or differences in letter case. Turn on Ignore whitespace and Ignore case. If they still differ, invisible characters may have been copied along; remove them with Slug & Text Cleaner.
Can I compare very long texts? Yes. If the texts are very long and you choose Character mode, the comparison automatically switches to words so the page stays fast.
Is my text sent to a server? No. The comparison runs entirely in your browser.
Want to check the word count after a revision? Use the Word & Character Counter.