File Encoding & BOM Normalizer

File Encoding & BOM Normalizer MCP Connector for Claude

A+

Detects and removes Byte Order Marks (BOM) and normalizes file encodings and line endings to a standard UTF-8 LF format.

4 tools Official Updated Oct 1, 2026 Official Vinkius Partner

The File Encoding & BOM Normalizer is a specialized utility for maintaining consistent file encoding and line ending standards across development environments. It prevents subtle runtime parser errors caused by Byte Order Marks (B/BOM) or mixed line endings (CRLF vs LF). Using the identify_encoding_bom tool, you can detect exact byte signatures for UTF-8, UTF-16 LE, and UTF-16 BE at the start of any file. The inspect_line_endings tool allows you to check if a file uses consistent LF or CRLF sequences. For larger scale changes, use preview_normalization_stats to calculate exactly how many bytes would be removed during a normalization process. Finally, generate_normalized_payload provides the clean, normalized text content of a file, stripped of BOM and converted to standard UTF-8 with LF line endings.

encodingbomutf8normalizationline-endingsutf16

4 tools expose this connector's capabilities to your AI agent.

identify_encoding_bom

Identify the BOM signature at the start of a file

inspect_line_endings

Check for consistent line endings in a file

preview_normalization_stats

Preview the impact of normalization on a file

generate_normalized_payload

Generate the normalized text content of a file

See how to talk to your AI agent using File Encoding & BOM Normalizer.

Check if this file has a BOM signature.

The `identify_encoding_bom` tool has detected a UTF-8 BOM signature at the start of the file.

What are the line endings in this file?

The `inspect_line_endings` tool reports that the file uses CRLF line endings.

Show me how many bytes would be removed during normalization.

The `preview_normalization_stats` tool indicates that 4 bytes would be removed to normalize the file.

A BOM is a specific sequence of bytes at the beginning of a file that indicates how characters are encoded. Detecting and removing it is critical to prevent parser errors in many modern tools.

Related Connectors