Cloud Storage & File Sharing · head-to-head

Google Drive vs OneDrive

Google Drive

Google Drive's API lets applications create, read, update, and share files and folders stored in a user's Drive, with fine-grained OAuth scopes for personal or Workspace accounts. A live GET against the real gateway, www.googleapis.com/drive/v3/files, returned a 403 without a token, reconfirming OAuth 2.0 auth over HTTPS, and a follow-up OPTIONS preflight echoed the request Origin in Access-Control-Allow-Origin, resolving cors from unknown to yes. The url was updated to Google's current Workspace documentation hub, which the old /drive/ path now permanently redirects to. Personal accounts get 15GB free, with paid Google One and Workspace plans raising the storage cap.

OneDrive

OneDrive's API, served through Microsoft Graph, lets applications read, write, and share files and folders in a user's personal or organizational OneDrive. A live GET against the real gateway, graph.microsoft.com/v1.0/me/drive, returned a 401 without a token, reconfirming OAuth 2.0 auth over HTTPS, and a follow-up OPTIONS preflight returned Access-Control-Allow-Origin: *, resolving cors from unknown to yes. Personal Microsoft accounts get 5GB free, with paid Microsoft 365 subscriptions raising the storage cap substantially.

Google DriveOneDrive
AuthenticationOAuthOAuth
Pricingfreemiumfreemium
FormatsJSONJSON
CORSyesyes
HTTPSYesYes

More comparisons