Cloaking is a search engine optimization technique in which the content or information presented to the user is different from that presented to search engine crawlers for better indexing. It is used as a spam indexing technique to try to trick search engines into giving the relevant site a higher ranking. You also might have heard about page cloaking and web cloaking.