Encoding has two meanings: in computer technology, encoding is the method of applying a specific code to data for translation into an identical cipher, such as letters, symbols, and numbers. In electronics, encoding applies to digital conversion as analog.
HTML Encoding means converting a document containing special characters outside the usual seven-bit ASCII set to a standard form. The type of encoding used will be sent to the server in the form of header information so that browsers can interpret it quickly and correctly. Encoding in computers is the method of placing in a series of characters (letters, numbers, punctuation, and certain symbols) for efficient transmission or storage in a standardized format. Decoding is the opposite method-converting an encoded format back to the original character sequence.
Encoding aims to translate data so that a particular type of system can accurately (and safely) interpret it, e.g., binary data being sent via email or displaying special characters on a web page. The goal is not to keep it secret but to ensure that it can be consumed properly.
Since encoding eliminates redundancies from files, your file size will be considerably smaller. It results in faster input velocity while saving data. As encoded information is more minor in format, your storage devices should be able to save space. It is perfect if you need to store large amounts of data.