diff --git a/docs/platforms/android/enriching-events/screenshots/index.mdx b/docs/platforms/android/enriching-events/screenshots/index.mdx
index 3b81a053e0de6..98e33e2a2ef49 100644
--- a/docs/platforms/android/enriching-events/screenshots/index.mdx
+++ b/docs/platforms/android/enriching-events/screenshots/index.mdx
@@ -16,6 +16,175 @@ Because screenshots may contain
+## Screenshot Masking
+
+Screenshot masking allows you to mask sensitive data in screenshots before they are captured. You can customize this behavior to fit your application's needs.
+
+
+
+Screenshot masking requires the `sentry-android-replay` module at runtime. This module is included by default if you use the `sentry-android` dependency. If you only depend on `sentry-android-core`, add the replay module explicitly:
+
+```groovy {filename:app/build.gradle}
+dependencies {
+ implementation 'io.sentry:sentry-android-replay:{{@inject packages.version('sentry.java.android', '8.34.0') }}'
+}
+```
+
+```kotlin {filename:app/build.gradle.kts}
+dependencies {
+ implementation("io.sentry:sentry-android-replay:{{@inject packages.version('sentry.java.android', '8.34.0') }}")
+}
+```
+
+If masking options are configured but the module is not available at runtime, the SDK will skip capturing screenshots entirely to avoid leaking sensitive data.
+
+
+
+### Default Masking Behavior
+
+Unlike Session Replay, screenshot masking is **disabled by default**. You can enable masking for all text and image content:
+
+```xml {filename:AndroidManifest.xml}
+
+
+
+
+```
+
+```kotlin
+import io.sentry.android.core.SentryAndroid
+
+SentryAndroid.init(this) { options ->
+ options.screenshot.setMaskAllText(true)
+ options.screenshot.setMaskAllImages(true)
+}
+```
+
+```java
+import io.sentry.android.core.SentryAndroid;
+
+SentryAndroid.init(this, options -> {
+ options.getScreenshot().setMaskAllText(true);
+ options.getScreenshot().setMaskAllImages(true);
+});
+```
+
+
+
+When `setMaskAllImages(true)` is set, the SDK will also mask `WebView`, `VideoView`, CameraX `PreviewView`, ExoPlayer, and Media3 player views in addition to `ImageView`.
+
+
+
+### Mask by View Class
+
+You can choose which type of view to mask or unmask by using `addMaskViewClass` or `addUnmaskViewClass`. These accept fully-qualified class names and apply to all subclasses of the specified class as well.
+
+```kotlin
+import io.sentry.android.core.SentryAndroid
+
+SentryAndroid.init(this) { options ->
+ options.screenshot.addMaskViewClass("com.example.MyCustomView")
+ options.screenshot.addUnmaskViewClass("com.example.PublicLabel")
+}
+```
+
+```java
+import io.sentry.android.core.SentryAndroid;
+
+SentryAndroid.init(this, options -> {
+ options.getScreenshot().addMaskViewClass("com.example.MyCustomView");
+ options.getScreenshot().addUnmaskViewClass("com.example.PublicLabel");
+});
+```
+
+
+
+If you use R8/ProGuard, make sure to keep the class names you reference in masking rules. Obfuscated class names will not match at runtime.
+
+
+
+### Mask by View Instance
+
+You can mask or unmask specific view instances using extension functions from the `sentry-android-replay` module:
+
+```kotlin
+import io.sentry.android.replay.sentryReplayMask
+import io.sentry.android.replay.sentryReplayUnmask
+
+myTextView.sentryReplayMask()
+myImageView.sentryReplayUnmask()
+```
+
+You can also set masking via XML layout tags:
+
+```xml
+
+
+
+```
+
+Alternatively, you can use the `android:tag` attribute with the `sentry-mask` or `sentry-unmask` string values:
+
+```xml
+
+```
+
+In Java, you can use view tags with the `sentry_privacy` resource ID:
+
+```java
+import io.sentry.android.replay.R;
+
+view.setTag(R.id.sentry_privacy, "mask");
+view.setTag(R.id.sentry_privacy, "unmask");
+```
+
+### Jetpack Compose
+
+For Jetpack Compose, use the `sentryReplayMask()` and `sentryReplayUnmask()` modifiers:
+
+```kotlin
+import io.sentry.android.replay.sentryReplayMask
+import io.sentry.android.replay.sentryReplayUnmask
+
+@Composable
+fun MyScreen() {
+ Column {
+ Text(
+ text = "Sensitive info",
+ modifier = Modifier.sentryReplayMask()
+ )
+ Text(
+ text = "Public info",
+ modifier = Modifier.sentryReplayUnmask()
+ )
+ }
+}
+```
+
+### General Masking Rules
+
+#### View Groups
+
+- If a `ViewGroup` is marked as masked, **all its child views will also be masked**, even if some children would normally not be masked. This prioritizes safety and ensures no sensitive information is unintentionally exposed.
+
+- If a `ViewGroup` is marked as unmasked, **its child views don't automatically inherit this behavior**. You'll need to explicitly mark each child view as unmasked if you want them to appear unmasked.
+
+#### Masking Priority
+
+Masking and unmasking rules are applied in the following order:
+
+ 1. Check if a view is marked as `unmasked` via a tag/extension or modifier.
+ 2. Check if a view is marked as `masked` via a tag/extension or modifier.
+ 3. Check if a view's class is marked as unmasked via `addUnmaskViewClass`.
+ 4. Check if a view's class is marked as masked via `addMaskViewClass`.
+
## Viewing Screenshots
If one is available, you'll see a thumbnail of the screenshot when you click on a specific issue from the [**Issues**](https://demo.sentry.io/issues/) page.
diff --git a/platform-includes/enriching-events/attach-screenshots/android.mdx b/platform-includes/enriching-events/attach-screenshots/android.mdx
index 93a5272c8601d..712fedc6b50bd 100644
--- a/platform-includes/enriching-events/attach-screenshots/android.mdx
+++ b/platform-includes/enriching-events/attach-screenshots/android.mdx
@@ -4,6 +4,12 @@
```
+
+
+Before enabling screenshots in production, verify your masking configuration to ensure no sensitive data is captured. If you find any masking issues or sensitive data that should be masked but isn't, please [create a GitHub issue](https://github.com/getsentry/sentry-java/issues/new/choose) and avoid deploying to production with screenshots enabled until the issue is resolved.
+
+
+
### Customize Screenshot Capturing