ToolMulti
Your everyday online toolkit

Weird Character Finder

One-click comparison tool to find unusual characters in strings.

Tool Guide

Introduction

The Online Weird Character Comparison and Finder converts all characters into ASCII character codes, making it easy to find characters that are indistinguishable to the naked eye and to quickly locate strange characters.

In development or everyday life, you often encounter cases where something looks perfectly fine, yet the editor displays it abnormally or the code throws an error. It's impossible to tell with the naked eye which invisible special character in the string is causing the problem.

For example:

< img src=1 onerror=alert(1)>

< img src=1 οnerrοr=alert(1)>

Can you tell at a glance what's wrong with these two lines? They're actually different. If you copy them into Sublime, you'll notice the syntax highlighting differs, but you still can't tell where the problem is by eye.

In fact, the difference between the two lines above is that the "o" in onerror on the second line is a special character—it just looks the same but actually isn't.

This tool converts every character in the string into ASCII codes, so you can quickly identify and locate weird special characters by examining the ASCII codes.

With this tool, you can easily distinguish invisible characters and garbled text, such as Zalgo text (҉H҉e҉l҉l҉o҉ ҉W҉o҉r҉l҉d҉) or the seaweed-style spam characters commonly used in forums.

How to Use

If you have only one string, just paste it into the text box and click the Start Comparison button. If you have multiple strings, click the Add button and paste each one for comparison.

After conversion, the ASCII code of each character is added below it. Clicking a character highlights all characters at the corresponding position across the text, allowing you to quickly spot abnormal characters through comparison.