refern.

Search syntax

The full reference for refern's 37 search operators, with value lists, ranges, exclusion with "-", smart folders and practical query recipes for artists.

refern's search box understands plain words and typed operators. An operator has the form keyword:value, such as type:video or rating:>=4. This page lists all 37 operators, how to combine them, and how to exclude results with -.

You can type operators in every search box: Global Search (Ctrl+K on Windows and Linux, Cmd+K on macOS), the search field in the grid toolbar (Ctrl+F or Cmd+F), and smart folder pages. The web library uses the same search parser.

How the search box reads text

Plain words

  • Every word must match. Words combine with AND.
  • A word matches the start of a word in the item's indexed text (name, description, notes, source caption, region labels and bookmark page text), any part of the item's name, or any part of the name or alias of one of its tags or creators.
  • Put a phrase in quotes to match it as a phrase: "red umbrella".
  • Put - before a word to leave out every item that the word matches: dragon -sketch.
  • Paste a web address (https://... or site.com/path) to find the bookmark of that page.

Results that match through the word index come first, ranked by relevance.

Operators

  • Type keyword:value. One space after the colon is allowed.
  • Operators and plain words combine with AND: tag:hands rating:>=4 gesture.
  • Quote a value with spaces: in:"Character Sheets".
  • An unknown keyword is searched as plain text.
  • A value that is not valid turns the operator into plain text and marks it as an error.

Value lists (OR)

Many operators take several values, separated by commas. Several values mean OR.

 type:image,video ext:png, jpg in:Sketches,Faces source:pinterest,artstation domain:youtube.com,vimeo.com creator:ann,bob codec:h264,hevc 
  • Repeating an operator merges its values: in:Sketches in:Faces is the same as in:Sketches,Faces.
  • You can give at most 32 values to one operator.
  • Quote a value that holds a comma: creator:"Smith, John".

For single-value operators, such as rating:, added: and sort:, the last one you type wins.

Numbers, ranges and comparisons

FormExampleMeaning
Exactrating:4, tags:2Equal to the value
At leastrating:>=3, fps:>=60The value or more
At mosttags:<=2, lufs:<=-14The value or less
Rangetags:1..3, bpm:90..110From the first value to the second, both included

For rating: and added:, > and < include the value itself. They act as >= and <=.

Dates must use the full YYYY-MM-DD form: added:2026-01-01..2026-03-31. A month-only range such as added:2026-01..2026-03 is not valid.

Exclude results with -

Put - before any filter operator to leave out what it matches.

 -type:video -ext:psd -tag:wip -in:Archive -rating:5 -rating:>=4 -aspect:landscape -ratio:portrait -has:notes -tags:0 -added:thisweek -duration:>=1m -color:#ff0000 

You can combine an operator with its exclusion. ext:png -ext:psd and rating:>=3 -rating:5 keep both rules.

Items with no value are kept

An exclusion keeps items that have no value in that field. So an operator and its - form always add up to every item.

SearchFinds
rating:5Items rated 5 stars
-rating:5Items rated 1 to 4 stars, and unrated items
aspect:landscapeLandscape items
-aspect:landscapePortrait and square items, and items with no width and height

Yes and no operators flip

For operators that are yes or no, - gives the opposite:

SearchSame as
-has:notesno:notes
-no:ratinghas:rating
-grouped:yesgrouped:no
-is:nsfwis:safe
-is:untaggedEvery tagged item. A tag on one of the image's regions counts as a tag.

-color: only removes

-color:#ff0000 leaves out images close to that color. It does not sort by color match, and it does not set the color button.

The one exception: -sort:

sort: sets the order. It is not a filter, so it cannot be negated. If you type -sort:name, refern does not apply it: there is no filter, no sort, and the text is not searched. The autocomplete does not offer sort: after -.

When the search cannot apply a - term, such as -sort:name, -added:yesterday or -rating:9, the search field shows a Not applied badge. Its tooltip names the terms. The other filters still apply.

Exclusion in the filter menus

An exclusion shows as a chip that starts with "Not". The filter boxes for Rating, Tag count, the dates, URL, Image Color, Derived, Duration, Frame rate, Aspect ratio and the audio and 3D ranges have an Include / Exclude (-) switch. Use it to build an exclusion without typing.

Operator reference

The - column shows how each operator works with -. "Yes" means - leaves out what the operator matches and keeps items with no value. "Flips" means - gives the opposite value. "No" means - is refused.

Tags & Organization

OperatorLabelExamples-Notes
tag:Tagstag:sky, tag:sky,water, tag:all:sky,water, tag:exact:a,b, tag:none:a,bYesModes: any (default), all, exact (these tags and no others) and none. A tag on one of the image's regions counts as the image's tag. An exclusion wins over an inclusion.
tags:Tag counttags:0, tags:2, tags:<3, tags:>=5, tags:1..3YesCounts manual tags only. Auto Tagger suggestions do not count.
auto:Auto Tagger suggestionauto:cat,dogYesLabels that the Auto Tagger suggested and kept for search.
in:Locationin:References, in:/References/Hands, in:"My Folder", in:Sketches,FacesYes (-in:, shown as "Not in")A folder and everything below it. Use a folder name or a path from the top of a content root. in:/ is the whole library. At most 32 folders.
label:Color Labellabel:red, label:red,blueYesValues: red, orange, amber, yellow, lime, green, emerald, teal, cyan, blue, indigo, purple, fuchsia, pink, brown, gray, white, black.
rating:Ratingrating:4, rating:=5, rating:>=3, rating:<=2Yes1 to 5. For unrated items, use no:rating.
grouped:Groupedgrouped:yes, grouped:noFlipsMembers of a stack (group). Also takes true and false, or 1 and 0.

File & Media Properties

OperatorLabelExamples-Notes
type:File Typetype:image, type:image,video, type:modelYesValues: image, gif, video, audio, project, document, model (or 3d), model3d, canvas, bookmark, directory (or folder, dir), other, file. Plurals work (images, videos). model3d is interactive models only. file is every generic file.
ext:Extensionext:psd, ext:png,jpg, ext:.blendYesExact file suffix, not case-sensitive. A leading dot is dropped. Also extension:.
duration:Durationduration:>=5m, duration:<=30s, duration:30s..2m, duration:1:30YesVideo length. A bare value means "at least". Units: s, m, h, or m:ss and h:mm:ss.
fps:Frame Ratefps:24, fps:>=60, fps:24..30YesA bare value matches within 0.5, so fps:24 finds 23.976.
codec:Codeccodec:h264, codec:h264,hevcYesVideo codec.
bpm:Tempo (BPM)bpm:120, bpm:90..110, bpm:>=140YesAudio. A bare value matches within 0.5. BPM comes from file tags or from you. refern does not detect it.
key:Musical keykey:Am, key:C,AmYesAudio. The key comes from file tags or from you.
lufs:Loudness (LUFS)lufs:<=-14, lufs:-16..-12YesAudio, integrated loudness.
channels:Audio channelschannels:1, channels:2, channels:>=6YesAudio. 1 is mono and 2 is stereo.
samplerate:Sample ratesamplerate:48k, samplerate:44.1k, samplerate:>=96kYesAudio. k means thousand. 48000hz also works.
faces:Facesfaces:<=5k, faces:>=100k, faces:1mYes3D models. A bare value means "at least". Takes k and m. Also tris:.
verts:Verticesverts:<=5k, verts:>=100kYes3D models. Also vertices:.
rigged:Riggedrigged:yes, rigged:noFlips3D models with or without a skeleton. Same as is:rigged.
animated:Animatedanimated:yes, animated:noFlips3D models with or without animations. Same as is:animated.
up:Up axisup:y, up:zYes3D models.

Audio and 3D operators match only items that have that fact. Items without it never match.

Visual & Color

OperatorLabelExamples-Notes
color:Image Colorcolor:#ff6600, color:ff6600, color:#f60, color:#ff6600~30YesHex, with or without #, 3 or 6 digits. Add ~1 (strict) to ~100 (broad) for sensitivity. The default is 50. Images only. Results sort by color match unless you set another sort.
aspect:Aspect ratioaspect:landscape, aspect:portrait, aspect:square, aspect:panorama, aspect:16:9, aspect:1.78, aspect:>=2, aspect:1..2YesAlso shape: and ratio:. Other values: horizontal, vertical, panoramic, vertical-panorama, 16/9. Square is within 5%. A typed ratio matches within 2%. A panorama is 2:1 or wider. Items with no width and height never match.

You can also pick a color with the drop icon next to the search field (Search by Color). It has a color square, a hex field, an Eyedropper (Windows and macOS) and a Sensitivity slider. One color at a time.

OperatorLabelExamples-Notes
source:Sourcesource:artstation, source:pinterest,instagram, source:"Foo, Inc."YesThe source name.
domain:Domaindomain:wikipedia, domain:youtube.com,vimeo.comYesThe site of the source link. A domain also matches its subdomains.
url:URLurl:watch, url:/blog/YesAny part of the link. One value only. Commas are part of the value.
creator:Creatorcreator:john, creator:ann,bob, creator:"Smith, John"Yes
derived:Derivedderived:any, derived:cropYesItems cropped or made from another item. Both values give the same result.
linked:Linkedlinked:true, linked:falseFlipsItems with any link except stack membership: cropped from, placed in a canvas, or linked to another item.
linked-to:Linked Tolinked-to:<item id>YesItems linked to one item. The autocomplete and filter menus do not show it. It is for tools and the "show linked" actions.

Dates & Size

OperatorLabelExamples-Notes
added:Date Addedadded:today, added:thisweek, added:thismonth, added:2026-03-01, added:>2026-01-01, added:<=2026-02-01, added:2026-01-01..2026-03-31YesUses your local calendar day. The week starts on Monday. > and < include the day.
modified:Date ModifiedSame forms as added:Yes

There is no size or dimension filter. To find large files, sort by Size (Largest), or use the Size column in the List view. The List view also shows dimensions.

Special Flags: is:, has: and no:

OperatorLabelValues-
is:Propertyfavourite (or favorite, fav), untagged, nsfw, safe, pixelated (or pixel, pixelart), duplicate (or dup), broken, missing, rigged, animatedFlips
has:Has Fielddescription (or desc), notes (or note), creator, source, ratingFlips (-has: is no:)
no:Missing FieldSame values as has:Flips (-no: is has:)

What each is: value finds:

Valueis: finds-is: finds
favouriteItems marked favouriteItems not marked favourite
untaggedItems with no tags on the item and none on its regionsEvery tagged item, including items tagged only on a region
nsfwItems marked NSFW, or with a tag set to "Mark items as NSFW when this tag is added"Items that are not NSFW
safeItems that are not NSFW. A tag that only blurs does not make an item NSFW.NSFW items
pixelatedItems marked pixelated, or with a tag set to show items as pixel artItems not pixelated
duplicateImages that look nearly identical, and bookmarks of the same page. Items marked Not duplicates are left out.Items with no such duplicate
brokenBookmarks whose link check found them brokenEverything else
missingItems whose file is no longer on diskItems whose file is present
rigged3D models with a skeleton3D models without one
animated3D models with at least one animation3D models with none

Sorting: sort:

OperatorLabelValues-
sort:Sortname, rating, added, modified, relevance, color, duration, tagsNo
  • Add -asc or -desc to set the direction: sort:rating-desc, sort:name-asc.
  • Without a direction, name and color sort ascending. The others sort descending.
  • sort: alone, with no other text, lists every item in that order.
  • sort: sets the order. It is not a filter, and -sort: is not applied.

Words that are not operators

These look like operators, but refern searches them as plain text: folder:, size:, dim:, width:, height: and date:. Use these instead:

You wantUse
A folderin: and -in:
A dateadded: or modified:
A shapeaspect:
File sizeSort by Size (Largest) or Size (Smallest)
Pixel dimensionsThe List view's Dimensions / Duration column

Autocomplete and filter menus

While you type, the search box suggests operators and values at the text cursor. A bare word also suggests up to 5 tags (as tag:<name>) and up to 3 folders (as in:<folder>). For ext:, source:, domain:, codec:, auto: and the audio and 3D operators, the values come from your library, with the number of items for each.

KeyAction
Down arrow (menu closed)Open the suggestions
Up and down arrowsMove the highlight
TabTake the highlighted suggestion, or the first one
EnterTake a suggestion only if you chose it with the arrows. Otherwise, run the search.
EscapeClose the suggestions

To build filters without typing, select Add filter in the search field. Each active filter shows as a chip under the field and writes the same filter as the operator. The Tags and Tag count pickers can also pick a tag with or without its child tags, which has no typed form.

To see every operator with an example in the app, select the info button at the left of the search field (Search syntax guide).

In Global Search, if a text search finds nothing, refern tries words that are one letter away and says "No exact matches. Showing close matches".

Save a search as a smart folder

A smart folder is a saved search. It runs again each time you open it, so it always shows current items.

  1. Type your search, or add filters.
  2. Select Save as smart folder.
  3. Enter a name and select Create.

The smart folder keeps the query, the filters (including color and sensitivity), the sort, and whether Search by meaning is on. Exclusions are kept too. For example, a smart folder saved from -color:#dc2626 -rating:5 shows the same items after a restart.

To reuse a smart folder in another search, select Load saved search in the search field:

  • Click a smart folder, or press Enter, to replace the current search with it.
  • Shift+click, Shift+Enter, or the row's + button adds only its filters to the current search.

A smart folder always searches the whole workspace. The folder where you saved it is not part of it. To limit it to a folder, add in: to the query.

Recipes for artists

You wantSearch
Hand references you have not rated or tagged yetin:Hands no:rating is:untagged
Your best pose references, without work in progresstag:pose rating:>=4 -tag:wip
References from two folders at oncein:Sketches,Faces
Wide environment shots with a warm orange paletteaspect:landscape color:#e07a2f~40
Everything except cool blue images-color:#2563eb
Panoramas for backgroundsaspect:panorama
Images that are not landscape (unsized items included)type:image -aspect:landscape
Short video clips for gesture practicetype:video duration:<=30s
Animation references at film frame ratetype:video fps:24
Low-poly rigged models for posingtype:model faces:<=5k rigged:yes
Music loops in A minor at a walking tempotype:audio key:Am bpm:90..110
Pinterest and ArtStation saves from this monthsource:pinterest,artstation added:thismonth
Images with no source yet, to credit latertype:image no:source
Images with noteshas:notes
Everything that is not a project file-type:project
Safe-for-work results to show a clientis:safe
Files that moved or were deleted outside refernis:missing
Bookmarks whose pages are gonetype:bookmark is:broken
Portraits, highest rated firsttag:portrait sort:rating-desc
Everything added in the first quarteradded:2026-01-01..2026-03-31

refern Cloud and sharing

Put a workspace online, edit it on the web, sync it across your computers, share links, and understand plans, storage, licensing and privacy.

Extensions, Local API and MCP

Install extensions and themes, connect scripts and assistant apps to your library with the Local API and the built-in MCP server, open files in other apps, and set your own shortcuts.

On this page

How the search box reads textPlain wordsOperatorsValue lists (OR)Numbers, ranges and comparisonsExclude results with -Items with no value are keptYes and no operators flip-color: only removesThe one exception: -sort:Exclusion in the filter menusOperator referenceTags & OrganizationFile & Media PropertiesVisual & ColorMetadata & LinksDates & SizeSpecial Flags: is:, has: and no:Sorting: sort:Words that are not operatorsAutocomplete and filter menusSave a search as a smart folderRecipes for artistsRelated guides