An illustrative hero image for PhoneSQL showing database concepts

PhoneSQL

Your data, your way.

Features

Effortless Database Management

Manage your databases with ease through a clean and intuitive interface.

Secure On-Device Storage

Your data remains secure and private, stored locally on your phone.

Monetize Your Data

Monetize your data by publishing SQLite databases for subscribers. Share your insights and get rewarded.

Securely Connect Your Apps

Let third-party apps access data safely with user consent, powered by our robust OAuth2 implementation.

Isolated Workspaces

Keep your projects organized and secure with isolated workspaces for your data and sessions.

Automatic Backups & Refreshes

Ensure your data is always safe and up-to-date with automatic cloud backups and data refreshes.

Powerful Proxy

Connect to your mobile database from any client with our powerful proxy, supporting Websocket, HTTP, and the Postgres wire protocol.

No Vendor Lock-in

Your data is yours. Stored in standard SQLite files, you can export or download it at any time.

Client-Side Encryption

You can choose to encrypt backup data directly on your phone before it's stored in the cloud. This ensures that only you can access it.

Connect

AI


//MCP: Connect to https://proxy.phonesql.com/mcp

[USER]: use the sql_execute tool to create a table in database                                           │
│   local_database to store our session conversation

[AI]: sql_execute (phoneSQLProdServer MCP Server)

[USER]: Can you display last 5 messages from the databases

[AI]: Here are the last 5 messages from our conversation:
user: use the .....
                            

API


curl --request POST \'https://proxy.phonesql.com/api\' \
--user "USERNAME:PASSWORD" \
--header \'Content-Type: application/json\' \
--data \'{
    "database": "DATABASE_ID",
    "queries": [
        {
            "id": "query-id-1",
            "sql": "SELECT * FROM your_table LIMIT 10"
        }
    ]
                            }\'

Postgres


import psycopg2

try:
    conn = psycopg2.connect(
        dbname="DATABASE_ID",
        user="USERNAME",
        password="PASSWORD",
        host="postgres.phonesql.com",
        port="5432"
    )
    cur = conn.cursor()
    print(cur.execute("SELECT * FROM your_table LIMIT 10"))
    rows = cur.fetchall()
    for row in rows:
        print(row)
    cur.close()
    conn.close()    
except psycopg2.OperationalError as e:
    print(f"Could not connect to the database: {e}")
                            

Pricing

Basic

$3.99/month

  • 5GB Cloud Storage
  • 5GB Download & 5GB Upload
  • All Features

Standard

$9.99/month

  • 50GB Cloud Storage
  • 50GB Download & 50GB Upload
  • All Features

Premium

$49.99/month

  • 500GB Cloud Storage
  • 500GB Download & 500GB Upload
  • All Features
  • Priority Email Support

Enterprise

Custom

  • Private cluster
  • Custom Cloud Storage
  • Custom Authentication
  • Setup and support

Note: All subscriptions are securely processed as in-app purchases through the Apple App Store or Google Play Store.

FAQ

Is PhoneSQL free to use?

Yes, PhoneSQL app is completely free, with no ads or hidden costs. You can locally store as much data as your phone storage allows. We offer optional subscription plans for cloud storage, which allow you to back up your data, share it with others, and publish it for a wider audience.

Which platforms are supported?

PhoneSQL is available for both iOS and Android. While we offer some features for your data management via browser, our focus is on a phone-first experience, ensuring your data is securely stored and accessed directly from your device.

Where is my data stored?

Your data is stored and accessed on your phone. Your backup files are securely stored in the AWS (Amazon Web Services) globally.

How can I get help?

For any questions or assistance, feel free to email us directly at admin [at] premsan [dot] com or use the contact page.