What UTF-8 decoding does
UTF-8 decoding reverses encoding: a stream of bytes becomes human-readable Unicode text. Each valid leading byte tells the decoder how many continuation bytes follow. Invalid bit patterns or truncated sequences produce errors instead of silent corruption.
When you utf8 decode online, you are translating wire-format bytes into the characters your editor would show — not performing URL decoding, HTML unescaping, or Base64 reversal. Those are separate layers applied before or after UTF-8.
This utf8 decoder uses TextDecoder with fatal mode enabled, so malformed sequences surface as clear errors rather than replacement characters you might miss in a log.
Developers paste hex from Wireshark, xxd, browser devtools, or ticket attachments to confirm what bytes actually say before blaming application logic.