Debian Codegraph @

docs/privacy.md

raw
1 # Privacy policy
2
3 **Last updated:** June 15, 2026
4
5 This privacy policy describes how ntfy ("we", "us", or "our") collects, uses, and handles your information
6 when you use the ntfy.sh service, web app, and mobile applications (Android and iOS).
7
8 ## Our commitment to privacy
9
10 We love free software, and we're doing this because it's fun. We have no bad intentions, and **we will
11 never monetize or sell your information**. The ntfy service and software will always stay free and open source.
12 If you don't trust us or your messages are sensitive, you can [self-host your own ntfy server](install.md).
13
14 ## Information we collect
15
16 ### Account information (optional)
17
18 If you create an account on ntfy.sh, we collect:
19
20 - **Username** - A unique identifier you choose
21 - **Password** - Stored as a secure bcrypt hash (we never store your plaintext password)
22 - **Email address** - If you add an email address to your account for account recovery and password resets, for use
23 with the email notification feature, or if you subscribe to a paid plan (for billing purposes via Stripe). Email
24 addresses you add to your account are verified by sending a confirmation link.
25 - **Phone number** - Only if you enable the phone call notification feature (verified via SMS/call)
26
27 You can use ntfy without creating an account. Anonymous usage is fully supported.
28
29 ### Messages and notifications
30
31 - **Message content** - Messages you publish are temporarily cached on our servers (default: 12 hours) to support
32 message polling and to overcome client network disruptions. Messages are deleted after the cache duration expires.
33 - **Attachments** - File attachments are temporarily stored (default: 3 hours) and then automatically deleted.
34 - **Topic names** - The topic names you publish to or subscribe to are processed by our servers.
35
36 ### Technical information
37
38 - **IP addresses** - Used for rate limiting to prevent abuse. May be temporarily logged for debugging purposes,
39 though this is typically turned off.
40 - **Access tokens** - If you create access tokens, we store the token value, an optional label, last access time,
41 and the IP address of the last access.
42 - **Web push subscriptions** - If you enable browser notifications, we store your browser's push subscription
43 endpoint to deliver notifications.
44
45 ### Billing information (paid plans only)
46
47 If you subscribe to a paid plan, payment processing is handled by Stripe. We store:
48
49 - Stripe customer ID
50 - Subscription status and billing period
51
52 We do not store your credit card numbers or payment details directly. These are handled entirely by Stripe.
53
54 ## Third-party services
55
56 To provide the ntfy.sh service, we use the following third-party services:
57
58 ### Firebase Cloud Messaging (FCM)
59
60 We use Google's Firebase Cloud Messaging to deliver push notifications to Android and iOS devices. When you
61 receive a notification through the mobile apps (Google Play or App Store versions):
62
63 - Message metadata and content may be transmitted through Google's FCM infrastructure
64 - Google's [privacy policy](https://policies.google.com/privacy) applies to their handling of this data
65
66 **To avoid FCM entirely:** Download the [F-Droid version](https://f-droid.org/en/packages/io.heckel.ntfy/) of
67 the Android app and use a self-hosted server, or use the instant delivery feature with your own server.
68
69 ### Twilio (phone calls)
70
71 If you use the phone call notification feature (`X-Call` header), we use Twilio to:
72
73 - Make voice calls to your verified phone number
74 - Send SMS or voice calls for phone number verification
75
76 Your phone number is shared with Twilio to deliver these services. Twilio's
77 [privacy policy](https://www.twilio.com/legal/privacy) applies.
78
79 ### Amazon SES (email delivery)
80
81 If you use the email notification feature (`X-Email` header), or when ntfy sends account-related emails (email
82 address verification and password reset links), we use Amazon Simple Email Service (SES) to deliver emails. The
83 recipient email address and message content are transmitted through Amazon's infrastructure. Amazon's
84 [privacy policy](https://aws.amazon.com/privacy/) applies.
85
86 ### Stripe (payments)
87
88 If you subscribe to a paid plan, payments are processed by Stripe. Your payment information is handled directly
89 by Stripe and is subject to Stripe's [privacy policy](https://stripe.com/privacy).
90
91 Note: We have explicitly disabled Stripe's telemetry features in our integration.
92
93 ### Web push providers
94
95 If you enable browser notifications in the ntfy web app, push messages are delivered through your browser
96 vendor's push service:
97
98 - Google (Chrome)
99 - Mozilla (Firefox)
100 - Apple (Safari)
101 - Microsoft (Edge)
102
103 Your browser's push subscription endpoint is shared with these providers to deliver notifications.
104
105 ## Mobile applications
106
107 ### Android app
108
109 The Android app is available from two sources:
110
111 - **Google Play Store** - Uses Firebase Cloud Messaging for push notifications. Firebase Analytics is
112 **explicitly disabled** in our app.
113 - **F-Droid** - Does not include any Google services or Firebase. Uses a foreground service to maintain
114 a direct connection to the server.
115
116 The Android app stores the following data locally on your device:
117
118 - Subscribed topics and their settings
119 - Cached notifications
120 - User credentials (if you add a server with authentication)
121 - Application logs (for debugging, stored locally only)
122
123 ### iOS app
124
125 The iOS app uses Firebase Cloud Messaging (via Apple Push Notification service) to deliver notifications.
126 The app stores the following data locally on your device:
127
128 - Subscribed topics
129 - Cached notifications
130 - User credentials (if configured)
131
132 ## Web application
133
134 The ntfy web app is a static website that stores all data locally in your browser:
135
136 - **IndexedDB** - Stores your subscriptions and cached notifications
137 - **Local Storage** - Stores your preferences and session information
138
139 No cookies are used for tracking. The web app does not have a backend beyond the ntfy API.
140
141 ## Data retention
142
143 | Data type | Retention period |
144 |------------------------|---------------------------------------------------|
145 | Messages | 12 hours (configurable by server operators) |
146 | Attachments | 3 hours (configurable by server operators) |
147 | User accounts | Until you delete your account |
148 | Access tokens | Until you revoke them or delete your account |
149 | Email addresses | Until you remove them or delete your account |
150 | Phone numbers | Until you remove them or delete your account |
151 | Web push subscriptions | 60 days of inactivity, then automatically removed |
152 | Server logs | Varies; debugging logs are typically temporary |
153
154 ## Self-hosting
155
156 If you prefer complete control over your data, you can [self-host your own ntfy server](install.md).
157 When self-hosting:
158
159 - You control all data storage and retention
160 - You can choose whether to use Firebase, Twilio, email delivery, or any other integrations
161 - No data is shared with ntfy.sh or any third party (unless you configure those integrations)
162
163 The server and all apps are fully open source:
164
165 - Server: [github.com/binwiederhier/ntfy](https://github.com/binwiederhier/ntfy)
166 - Android app: [github.com/binwiederhier/ntfy-android](https://github.com/binwiederhier/ntfy-android)
167 - iOS app: [github.com/binwiederhier/ntfy-ios](https://github.com/binwiederhier/ntfy-ios)
168
169 ## Data security
170
171 - All connections to ntfy.sh are encrypted using TLS/HTTPS
172 - Passwords are hashed using bcrypt before storage
173 - Access tokens are generated using cryptographically secure random values
174 - The server does not log message content by default
175
176 ## Your rights
177
178 You have the right to:
179
180 - **Access** - View your account information and data
181 - **Delete** - Delete your account and associated data via the web app
182 - **Export** - Your messages are available via the API while cached
183
184 To delete your account, use the account settings in the web app or contact us.
185
186 ## Changes to this policy
187
188 We may update this privacy policy from time to time. Changes will be posted on this page with an updated
189 "Last updated" date. You may also review all changes in the [Git history](https://github.com/binwiederhier/ntfy/commits/main/docs/privacy.md).
190
191 For significant changes, we may provide additional notice on Discord/Matrix or through the
192 [announcements](https://ntfy.sh/announcements) ntfy topic.
193
194 ## Contact
195
196 For privacy-related inquiries, please email [[email protected]](mailto:[email protected]).
197
198 For all other contact options, see the [contact page](contact.md).