The context in which a user generates a search query is analyzed to generate an improved search query. Search query context may be determined with reference to a user profile or content collected from Internet of Things (IoT) or non-IoT devices located proximate the user. Content may be collected when the search query is generated or at a time before the search query is generated. Content collected for context analysis includes visual display content (screen capture), audio content, and data content.