Enabling case-sensitive searches
By default, searches are case-insensitive. You can make your search
case-sensitive by using the case
filter.
For example, the following search returns only results that match the term
HelloWorld
. It excludes results where the case doesn't match, such as
helloWorld
or helloworld
.
case:yes HelloWorld
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-18 UTC.
[null,null,["Last updated 2023-10-18 UTC."],[[["By default, search results are not case-sensitive and include variations in capitalization."],["To refine searches for exact letter casing, utilize the \"case\" filter and set it to \"yes\" alongside your search term."]]],[]]