Quick Summary
To compare text differences or encode strings: Paste original text in Text A and modified text in Text B on the Text Online Tool. Click Diff Checker (Alt+1) for color-coded line diffs, or select Base64 Encode (Alt+3) or URL Encode (Alt+7) for string transformations.
Line-by-Line Diff Checker for Code & Documentation
Spotting subtle differences between two configuration files or code snippets by eye is error-prone. The Text Diff Tool compares lines sequentially and renders visual highlights:
- + Green Lines: Represent newly added content in Text B.
- - Red Lines: Represent deleted content from Text A.
Base64 Encoding & Decoding Explained
Base64 translates binary or UTF-8 text into a 64-character ASCII representation (A-Z, a-z, 0-9, +, /). This ensures safe payload transport over HTTP authorization headers, data URIs, and email systems without character corruption.
URL Encoding vs HTML Entity Encoding
| Encoding Type | Target Context | Example Input | Encoded Output |
|---|---|---|---|
| URL Encoding | HTTP Query String Parameters | hello world & key |
hello%20world%20%26%20key |
| HTML Entity Encoding | HTML DOM Content Protection | <script>alert(1)</script> |
<script>alert(1)</script> |