# Global search

- Global search finds pages and blocks across **all of your graphs** at once, not just the one you have open.
- It covers your hosted graphs, plus the graph you're currently in, even if that one is a local graph.

### How to use it

- Press `Cmd-Shift-u` / `Ctrl-Shift-u` anywhere, or run **Global search** from the [[Command Palette]].
- If you have text selected when you press the hotkey, that text becomes your search.
- Start typing to search every graph at once, or pick one graph to search just that one.
- Use the arrow keys to move through results. The selected result shows a detail panel with its path, children, backlinks, and edit history.
- `Esc` steps back from a single graph's results to all graphs, and closes the search from there.
- Open a result and Roam takes you straight to it in its graph.

### Good to know

- Each graph returns its top 100 matches. To go deeper, use **Open search results in graph**, which continues the same search inside that graph.
- [[Encrypted Graphs]] are the exception: Roam's servers can't read them, so an encrypted graph is only searched while it's the graph you have open.
- A local graph lives only on the device where you created it, so it's likewise only searched while it's the one open.
- Searching your other graphs needs an internet connection; the graph you're in is searched right on your device.
