TL;DR: A keyboard is not like other apps. Apple builds every custom keyboard as a sandboxed app extension, and "By default, a keyboard has no network access and cannot share a container with its containing app" [1]. The switch that removes that sandbox is the one Apple calls open access [1] and iPhone users see as Allow full access [9]. With it on, Apple's own capability table says the keyboard "can send keystrokes and other input events for server-side processing" [1]. With it off, the same document says the system "ensures that keystrokes cannot be sent back to you or anywhere else" [1]. iOS already covers your most sensitive fields: "When a user taps in a secure text input object, the system temporarily replaces your custom keyboard with the system keyboard" [1]. On Android, Google says federated learning "doesn’t send the text you speak or type to Google, but will send what it learns to Google" [3], and Google's Play listing says "This app may collect these data types" and lists "Audio, App activity and 2 others" [4]. The App Store labels are blunter. Gboard's puts User Content and Audio Data under "Data Linked to You" [7]. SwiftKey's puts the same two categories under "Data Not Linked to You" [8].
Why a Keyboard Sees More Than Any Other App
Every other app on your phone asks for a slice of what you do. A keyboard asks for the thing you do. It sits between your fingers and almost every field in every app: the message you are writing, the search term you are typing, the account name, the paragraph you are drafting in a document.
Apple treats this as a security boundary rather than a feature request. A custom keyboard on iOS is an app extension with its own sandbox, and Apple documents the default state plainly: "By default, a keyboard has no network access and cannot share a container with its containing app" [1]. To lift that, the developer sets a single flag, which Apple calls the RequestsOpenAccess Boolean key in the keyboard's Info.plist file [1]. Set it, and the keyboard app can ask for full access, the switch Google's iPhone instructions call Allow full access [9].
That switch is the whole story. Without it, a keyboard can still fix your spelling and suggest words on the device. With it, the keyboard becomes a networked app that happens to sit in front of your typing.
What Turns On When You Grant Full Access
Apple publishes a table comparing the two modes, and the difference is not subtle. With open access off, the privacy column reads "Users know that keystrokes go only to the app that is using the keyboard" [1]. With open access on, it reads "Users know that keystrokes are available to the keyboard developer" [1].
The same table lists what the open-access keyboard gains [1]:
- All capabilities of a nonnetworked custom keyboard.
- Access to Location Services and Address Book, with user permission.
- A shared container with the app that contains the keyboard.
- "Keyboard can send keystrokes and other input events for server-side processing"
- Access to iCloud, Game Center and In-App Purchase through the containing app, and the ability to work with managed apps when the keyboard supports mobile device management.
Apple's guidance to keyboard developers in the same document is deliberately narrow. If you send keystroke data to your own server, "Do not store received keystroke or voice data except to provide services that are obvious to the user" [1]. If you build a dictionary from trending news, "Do not associate the user’s identity with their use of trending or other network-based information, for any reason that is not obvious to the user" [1]. And the rule that makes the sandbox work: "If you build a keyboard without open access, the system ensures that keystrokes cannot be sent back to you or anywhere else" [1].
Apple enforces part of this at review time. Its developer documentation tells anyone building an open-access keyboard that they "must adhere to networked keyboard guidelines" in the App Store Review Guidelines and the iOS Developer Program License Agreement [1]. Guideline 2.5.18 of those guidelines keeps display advertising out of extensions, keyboards included: "Display advertising should be limited to your main app binary, and should not be included in extensions" [2].
What iOS Already Protects, and What It Does Not
Apple does not hand every field to your custom keyboard. Two categories are carved out, and both are handled by the system rather than by the keyboard maker.
The first is secure text entry. "When a user taps in a secure text input object, the system temporarily replaces your custom keyboard with the system keyboard" [1]. The second is phone pad fields, such as the phone number fields in Contacts, which "are exclusively for strings built from a small set of alphanumeric characters specified by telecommunications carriers" [1].
Apps can also refuse custom keyboards outright. Apple notes that "An app developer can elect to reject the use of all custom keyboards in their app. For example, the developer of a banking app, or the developer of an app that must conform to the HIPAA privacy rule in the US, might do this" [1]. A banking app that blocks third-party keyboards is not paranoia. It is a line of code.
What is left over is everything else: chat messages, search boxes, note fields, email drafts and forms. If a custom keyboard has full access, that is what it sees.
One more limit worth knowing. Custom keyboards are not microphones. Apple states that "Custom keyboards, like all app extensions in iOS 8.0, have no access to the device microphone, so dictation input is not possible" [1]. A keyboard cannot listen to the room. It can read your hands.
What Google's Gboard Says It Does
On Android, the question is what the keyboard maker says it does with your typing. Google's Gboard help pages are unusually specific about the answer.
The core mechanism is federated learning. Google's help page "Learn how Gboard gets better" says "A technology called federated learning helps Gboard learn new words and phrases. Federated learning doesn’t send the text you speak or type to Google, but will send what it learns to Google, where it will be combined with learnings from other users to create better speech and typing models" [3]. The same page adds that "Gboard only uses federated learning while your phone charges, is connected to Wi-Fi, and isn’t in use" [3].
The second mechanism is voluntary audio donation for dictation. Google's page says snippets "include a maximum of 15 seconds of your speech. If there’s silence or unrecognized audio, snippets may be up to 25 seconds" and that "Google won’t keep these snippets beyond 18 months" [3]. It also says "Data donation is voluntary" [3] and that "Shared audio snippets aren’t associated with you" [3]. One detail deserves a second read: "human reviewers may listen to or transcribe some snippets" [3].
Gboard's own Privacy settings divide this into controls you can act on [3]: "Personalize for you", which saves recordings and transcripts on the device; "Improve for everyone", the federated learning contribution; and a "Delete learned words & data" option that "Clears all on-device data that Gboard has saved" [3]. A separate toggle, "Donate audio snippets to improve dictation", controls whether snippets are sent and stored by Google [3].
Then there is the Play Store declaration, which Google publishes on the app's listing. The Gboard listing's Data Safety section states "No data shared with third parties" and says "This app may collect these data types" [4], listing "Audio, App activity and 2 others" [4]. It also states "Data is encrypted in transit" and "Data can’t be deleted" [4], and the listing notes that "The developer provided this information and may update it over time" [4]. The listing shows "Updated on Nov 5, 2026" [4].
Compare that to the engineering team's own words in a Google security blog post from October 2020, where Yang Lu, Angana Ghosh and Xu Liu of the Gboard team wrote that "Nothing users type is sent to Google servers" [5]. The blog post and the Play section are not the same claim. One describes the keyboard's design, the other is a developer declaration about what the app collects. If you use Gboard, read both.
What the App Store Labels Say About the Two Big Keyboards
Apple makes every App Store developer fill in a privacy label, and for keyboards the labels are unusually revealing. Apple's own documentation explains what the categories mean: "Other User Content" covers "Any other user-generated content", and "Audio Data" covers "The user’s voice or sound recordings" [6].
The definition of collect is the part worth knowing. Apple's help page defines it as transmitting data off the device and storing it in a readable form for longer than the time it takes you and/or your third-party partners to service the request [6].
Gboard's App Store listing puts a lot under the heading "Data Linked to You": User Content, Audio Data, Identifiers, Diagnostics and Other Data, for both Analytics and App Functionality [7]. The same listing puts Location, including Precise Location, and Contacts under "Data Not Linked to You" [7].
SwiftKey's listing draws a different line. Its "Data Linked to You" block covers Contact Info and Identifiers, while User Content, including "Audio Data" and "Other User Content", sits under "Data Not Linked to You" [8].
Two caveats apply to both labels. Each one says "This information has not been verified by Apple" [7][8]. And each one notes that "Privacy practices may vary, for example, based on the features you use or your age" [7][8]. Read the label as a floor, not a ceiling.
How to Turn It Down
Three switches are worth knowing, one per platform.
iPhone: revoke full access
Google's own setup instructions for Gboard on iPhone put the switch inside the keyboard's app: open the Gboard app, tap "Enabling full access", tap "Get started", then "Keyboards", and turn "Allow full access" on [9]. Revoking it means turning the same switch off, and with it off the keyboard goes back to Apple's sandbox, where the system "ensures that keystrokes cannot be sent back to you or anywhere else" [1]. For Gboard, what you give up is search from the keyboard: Google says "If you turn on Full Access, you can use Google Search on your keyboard" [9].
Google is also precise about what it thinks the switch is worth. "Your searches will be sent to Google, but nothing else will be shared" [9]. That is Google's claim about its own app. The switch is identical for every keyboard, so the question for any other one is whether you have read that developer's own privacy policy.
The screen where your installed keyboards are managed sits in the Settings app: General, then Keyboard, then Keyboards, where Google's instructions have you tap Edit at the top right to reorder them [9]. This is also where you can see what else you have installed.
iPhone: go back to the keyboard that came with the phone
If you would rather not think about switches at all, delete the third-party keyboard and type on the one that shipped with the phone.
Android: Gboard's privacy settings
Gboard's help page describes the controls and the delete option in enough detail to follow. On the keyboard itself, tap Settings, then Privacy, and you can turn off the donation of audio snippets, turn off "Improve for everyone", and run "Delete learned words & data" to clear what Gboard has stored on the device [3].
SwiftKey: read the label, then the policy
SwiftKey's App Store label puts Contact Info and Identifiers under "Data Linked to You" and User Content under "Data Not Linked to You" [8]. The label is the summary. The developer's own privacy policy is the document with the detail, and the App Store listing points you to it [8].
If full access was on while you typed something sensitive
Password fields marked as secure already switch to the system keyboard, so the exposure is anything sensitive typed into an ordinary field: a code pasted into a chat, an account number in a note, a password typed into a search box. If a keyboard had full access while you typed something like that, treat it as exposed rather than assuming the app was honest about it, change what can be changed, and revoke full access before you type the replacement.
The bottom line: A keyboard is the one app you install that sits inside every other app. Apple's design keeps it harmless by default and puts the dangerous mode behind a switch you have to flip yourself. That switch is the whole story, and it is the one worth revisiting: the full-access toggle in the keyboard's app on iPhone, and the Privacy panel in Gboard on Android. Nothing here requires you to give up the keyboard you like. It requires you to know which switch you flipped.
References
- Apple, App Extension Programming Guide: Custom Keyboard (Apple Developer Documentation Archive). https://developer.apple.com/library/archive/documentation/General/Conceptual/ExtensibilityPG/CustomKeyboard.html
- Apple: App Store Review Guidelines. https://developer.apple.com/app-store/review/guidelines/
- Google, Gboard Help: Learn how Gboard gets better. https://support.google.com/gboard/answer/12373137
- Google Play: Gboard - the Google Keyboard, by Google LLC, Data Safety section. https://play.google.com/store/apps/details?id=com.google.android.inputmethod.latin
- Yang Lu, Angana Ghosh and Xu Liu, Gboard team: Privacy-Preserving Smart Input with Gboard, Google Online Security Blog, October 7, 2020. https://security.googleblog.com/2020/10/privacy-preserving-smart-input-with.html
- Apple, App Store Connect Help: App Privacy Details (privacy label categories and the meaning of "collect"). https://developer.apple.com/app-store/app-privacy-details/
- Apple App Store: Gboard - the Google Keyboard, by Google LLC, App Privacy section. https://apps.apple.com/us/app/gboard-the-google-keyboard/id1091700242
- Apple App Store: Microsoft SwiftKey AI Keyboard, by TouchType Ltd, App Privacy section. https://apps.apple.com/us/app/microsoft-swiftkey-ai-keyboard/id911813648
- Google, Gboard Help: Set up Gboard - iPhone & iPad. https://support.google.com/gboard/answer/6380730?hl=en&co=GENIE.Platform%3DiOS