A TXT record, as the abbreviation implies, is a record, which contains information in human-readable form and not code. It can be set up for a domain name or a subdomain for a number of purposes. Search engines like Google, for example, have different ways of verifying you're the owner of a certain domain name and one of them is actually by creating a TXT record with specific text which they provide and which you should use as the record value. The same verification method is used by some analytics platforms that check the traffic to your sites as well. However, in this situation the content of the record will be read by a robot, but it will still be in human-readable form. A TXT record is also used in case you enable the so-called SPF protection for your emails so that you can protect them from being forged. In such a case, the record contains information showing that a particular electronic message is sent from a reliable and authorized mail server. You may use a TXT record for any sort of other information as well, such as your business details, as an example.