Cloaking is a black hat SEO technique, where the user receives different content or information as compared to that presented to search engine crawlers. The aim of cloaking is better indexing. Cloaking is against Google guidelines, as it provides users with different information than they expected.