> ## Documentation Index
> Fetch the complete documentation index at: https://docs.extractbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# innerText

Retrieves the visible text content of the element, excluding hidden text but including text from the shadow DOM.
This is similar to what a user would see on the page.
Example: For `<p>Hello <b>world</b></p>`, innerText might be `"Hello world"`.

## Definition

```graphql theme={null}
innerText: String
```

## Returns

[String](/reference/graphql/scalars/string)

The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

## Usage

This field is available on the [Page](/reference/graphql/objects/page) object. Use it to query page information and content.
