Starts with EF BB BF
- Input
- EF BB BF 3C 61 3E
- Expected output
- UTF-8 (BOM), texto <a>
The first three bytes are the UTF-8 mark and do not enter the text.
how to open an xml file
Drop the file on the viewer upload area or use the choose-file button. It appears as formatted text and as a tree, and the encoding used to read the bytes is shown below.
The first three bytes are the UTF-8 mark and do not enter the text.
Each character takes two bytes, least significant first.
E7 is ç, E3 is ã and 6F is o in that encoding.
It is not valid UTF-8, so the legacy fallback applies.
CRLF becomes LF so line counts match the editor.
Drop the file on the upload area or pick it with the button. The tool detects the encoding (UTF-8, UTF-16 or the one declared in the header, such as ISO-8859-1), shows the formatted text and builds the tree. You can also paste the content. Any text editor or browser can open XML, but only here do you get formatting, a tree, search and NF-e reading in one place with nothing to install.
Any text editor, and a browser too. What they lack is reliable indentation, a collapsible tree, search and an error notice with line and column, which the viewer gives with nothing to install.
Because a UTF-8 file was read as ISO-8859-1 or Windows-1252: the two bytes of an é in UTF-8 become two characters. Opening the file through the viewer detects the encoding and the text comes out right.
Yes, up to 15 MB. The tree only builds the visible rows and loads each element's children in small batches, so it scrolls well even with hundreds of thousands of nodes.