Use advanced search syntax

Use advanced search syntax
< Previous / Next >

Use advanced search syntax

Advanced search syntax gives you the ability to search your notes by special commands, like the date they were created, the type of content they contain (audio, images, etc.)—even where they were created. Here's a table of the most common search operators and examples of how to use them.

Tips:

  • Upper and lower case are ignored. For example, Brave and brave return the same results.
  • Multiple words return only results containing all the words. For example, world new brave returns results with all 3 words anywhere in it.
  • Quotation marks return results with an exact match. For example, "brave new world" returns only results with those 3 words in that exact sequence.
  • An asterisk at the end of a word returns results with a minimum of those letters. For example, brav* returns results containing brave, bravo, bravado, etc.
Operator Description Example

intitle:

Searches within the title of the note.

intitle:coffee searches for notes whose title contains "coffee".

notebook:

Searches for notes stored in the specified notebook.

notebook:Finance will only search for notes within the 'Finance' notebook.

stack:

Searches for notes stored in the specified notebook stack.

stack:Contracts will only search for notes within the 'Contracts' notebook stack.

any:

Searches for notes that match any of the search terms listed. Without this operator, Evernote search will return only those notes that match all of the specified search terms.

any: pizza beer will return all notes containing either "pizza" or "beer" (removing this operator would return only notes containing "pizza" and "beer").

tag:

Searches for notes tagged with the specified tag.

tag:medical will return notes that have the tag "medical".

Note: Use tag:* to return all notes with tags.

-tag:

Searches for notes not tagged with the specified tag.

-tag:medical will return notes that do not have the tag "medical".

Note: Use -tag:* to return all notes without tags.

created:

Searches for notes created on or after the date specified. Note that the date specified must be formatted like this: YYYYMMDD (where YYYY is the 4-digit year, MM is the 2-digit month, and DD is the 2-digit day), or as a date relative to the current date (e.g., day-1 to represent yesterday, week-2 to represent two weeks ago, etc.)

created:day-2 will return notes that were created in the last two days.

created:20151218 will return notes created on or after December 18, 2015.

updated:

Searches for notes updated on or after the date specified. If a note hasn't been updated since the date it was created, the 'updated' date will be the same as the 'created' date.

updated:day-2 will return notes that have been updated in the last two days.

resource:

Searches for notes that contain specific types of media (audio, images, etc.).

resource:application/pdf will return all notes that contain a PDF file.

resource:image/jpeg will return all notes containing an embedded JPEG image.

resource:audio/* will return all notes that contain some type of audio file.

latitude:

longitude:

altitude:

Searches for notes that were created at or near the specified coordinates.

latitude:37 will return all notes whose latitude value is greater than 37. Add -‍latitude:38 to your search to show results whose latitude is between 37 and 38 degrees. longitude: and altitude: work exactly the same way.

source:

Searches for notes by the application or other source used to create them (e.g., 'mail.smtp' for notes added via email, 'web.clip' for notes added using Web Clipper, etc.).

source:mobile.* will return all notes created on a mobile application of some type.

source:web.clip will return all notes added using Web Clipper.

todo:

Searches for notes containing one or more checkboxes.

todo:true will return all notes containing a checkbox that is checked.

todo:false will return all notes containing a checkbox that is not checked.

todo:* will return all notes containing a checkbox, regardless of whether or not it is checked.

encryption:

Searches for notes that include text that has been encrypted with Evernote's built-in encryption system.

encryption:

Note: This operator does not require additional values.

contains:

Searches for notes by type of content they contain.

contains:url will return all notes containing a URL.
Item Syntax
Addresses contains:address
Archive files contains:fileArchive
Attachments contains:attachment
Audio files contains:fileAudio
Calendar events contains:calendarEvent
Checkboxes contains:enTodo
Code blocks contains:enCodeblock
Contacts contains:contact
Dates contains:date
Document files contains:fileDocument
Email addresses contains:email
Encrypted text contains:enCrypt
Google Drive contains:urlGoogleDrive
Images contains:fileImage
Integers contains:numberInteger
Lists contains:list
Numbers contains:numberReal
Office files contains:fileOffice
PDF files contains:filePdf
Percentages contains:numberPercent
Person names contains:person
Phone numbers contains:phoneNumber
Presentations contains:filePresentation
Prices contains:numberPrice
Spreadsheets contains:fileSpreadsheet
Tables contains:table
Tasks contains:task
Tasks (Completed) contains:taskCompleted
Tasks (Not Completed) contains:taskNotCompleted
Time contains:time
URLs contains:url
Video contains:fileVideo
Web clips contains:webclip

Geographic search

This feature requires a Professional or Teams subscription.

Find notes based on the location they were created. To do so, you’ll need to know the latitude, longitude, and radius of a place where you’ve created a note.

To conduct a geographic search, follow these steps:

  1. Find the latitude and longitude of the location you would like to search. To do this using Google Maps, follow these instructions.
  2. Select a radius you’d like to search within. Miles (mi), kilometers (km), and nautical miles (nm or nmi) are supported.
  3. In the search bar, type in geodistance:[latitude],[longitude],[radius]. For example, typing in geodistance:40.749619,-73.983554,2mi will return notes that were created within 2 miles of the Empire State Building. Make sure that there are no spaces in the entered syntax.

Note: This feature only works for notes that were created on a mobile device where users have granted Evernote location-tracking permission.

Boolean search

This feature requires a Professional or Teams subscription.

Boolean search uses operators that can combine or exclude certain terms in a search query. In Evernote, you can search using the operators AND, OR, NOT, and ( ). To learn more, visit Use Boolean search for targeted search results.

For more information on the full library of Evernote search operators, visit our Search Grammar specifications.

LANGUAGES_PRODUCT

Keywords:

  • filter
  • search
  • advanced search
  • how to search
  • syntax