MIME type for a file extension, or detect the real type of a file from its first bytes. (Encode & decode)
These tools need JavaScript. They run entirely in your browser and upload nothing.