How to send SMS from browser through an Android Mobile

This guide shows how to turn an Android phone with a SIM card into an SMS gateway that can be accessed from a web browser. Install and configure Ozeki SMS Client, connect the phone and PC to the same Wi-Fi network, then use its web interface or HTTP API to send SMS messages through the phone’s mobile connection.

What you need

In order to send SMS from your browser through an Android mobile phone, you need an Android mobile with a SIM card (the SIM card is usually already installed in your Android phone). You also need a wifi link between your android phone and the PC.

what you need
Figure 1 - What you need

How to install Ozeki on Android (Quick steps)

To install Ozeki on Android:

  1. Download the Android SMS Gateway on your mobile
  2. Open the downloaded apk file on your mobile
  3. Select the INSTALL option to start the installation
  4. Click on Open when the installation is finished
  5. Allow the Android SMS Gateway's permissions
  6. Connect to you Android mobile from a Browser or using HTTP API

How does it work

This solution turns your Android phone into a browser-accessible SMS gateway. After download and install the Ozeki AndroidSMS client, granting the required permissions, and starting its HTTP Service, open the phone’s displayed IP address and port from a PC on the same Wi-Fi network. You can then log in to the web interface, compose an SMS, and send it through the SIM card installed in the Android phone.

Figure 2 - How does it work

How to install the Ozeki SMS Client on Android

The following video tutorial takes you through the steps of Installing the Android SMS Client software on your Android mobile. Note, that you will need to download the Android SMS app from android-sms-gateway.com. After installation make sure you enable the necessary permissions for Ozeki app. This will enable the app to run seamlessly in the background.

Installation steps

Open the Android SMS Gateway download page in the phone’s browser. Download the Ozeki SMS Client APK installation package. Wait until the download finishes before opening the file.

Download APK file

Figure 1 - Download APK file

Open the downloaded APK from the browser notification or Downloads folder. Android may display a security prompt because the app was not installed from Google Play. Continue to the installation settings when prompted.

Open APK file

Figure 2 - Open APK file

Tap Settings in the Android security warning dialog. This opens the permission page for the app that downloaded or opened the APK. The next step is to allow that app to install external applications.

Open Settings

Figure 3 - Open Settings

Enable Allow from this source or Install unknown apps. This temporarily authorizes the browser or file manager to install the Ozeki APK. Return to the installation screen after enabling the setting.

Allow to install unknown apps

Figure 4 - Allow to install unknown apps

Android may warn that installing apps from unknown sources can be unsafe. Confirm the warning only after verifying that the APK was downloaded from the official source. This allows the Ozeki SMS Client installation to continue.

Accept danger

Figure 5 - Accept danger

Tap Install to copy and install the Ozeki SMS Client on the phone. Keep the phone unlocked and wait for Android to complete the process. When installation finishes, select Open to launch the application.

Install Ozeki SMS Client

Figure 6 - Install Ozeki SMS Client

Android or Google Play Protect may scan the newly installed application. Allow the scan to finish so the installation can be reviewed for potential risks. If the official Ozeki application is confirmed, proceed with the installation.

Scan app

Figure 7 - Scan app

If Play Protect displays a warning, select Install anyway for the verified Ozeki APK. Use this option only when the file came from the official Android SMS Gateway site. The application can then be installed and started normally.

Install Anyway

Figure 8 - Install Anyway

Launch the Ozeki SMS Client from the installation screen or app drawer. The application provides a local web interface and HTTP API for SMS sending. Keep it installed on the Android phone that contains the SIM card.

Open Ozeki SMS Client app

Figure 9 - Open Ozeki SMS Client app

In Ozeki SMS Client, start the HTTP Service from the main screen. The service listens for web requests sent to the phone over the local Wi-Fi network. Note the displayed IP address and port for opening the browser interface later.

Start HTTP Service

Figure 10 - Start HTTP Service

Accept the requested Android permissions when the application asks for them. These permissions are necessary for sending SMS messages and maintaining service operation. Without them, the HTTP interface may be available but cannot send messages correctly.

Allow permissions

Figure 11 - Allow permissions

Open the Android application settings for Ozeki SMS Client. Review the permissions, battery, and restricted-settings options available for the app. Configure them so the gateway can continue working in the background.

Open APP settings

Figure 12 - Open APP settings

Enable restricted settings for Ozeki SMS Client if Android blocks sensitive permissions. This makes it possible to grant the app the access it needs for gateway operation. Return to the app’s permission page once the setting is enabled.

Allow restricted settings

Figure 13 - Allow restricted settings

Grant the SMS permission to Ozeki SMS Client. This permission allows the Android phone to submit outgoing SMS messages through its SIM card. It is essential for messages sent from the browser or HTTP API.

Allow SMS permission

Figure 14 - Allow SMS permission

Grant camera permission if the application requests it for QR-code or setup functions. This can simplify connection or configuration tasks within the Ozeki application. The core SMS sending workflow still depends primarily on SMS and network access.

Allow Camera permission

Figure 15 - Allow Camera permission

Set battery usage for Ozeki SMS Client to Unrestricted or disable battery optimization. This prevents Android from stopping the HTTP service while the phone is idle. The gateway can then remain reachable from the browser for longer periods.

Disable battery restrictions

Figure 16 - Disable battery restrictions

Verify that the HTTP Service status is shown as running in Ozeki SMS Client. Use the displayed local IP address and port as the browser access address. Ensure the phone stays connected to Wi-Fi while you send SMS messages.

HTTP Service running

Figure 17 - HTTP Service running

Send SMS from your PC

Enter the phone’s HTTP service address into a browser on the same network. Sign in to the Ozeki web interface using the configured credentials. Successful login confirms that the browser can communicate with the Android gateway.

Login to Web interface
Figure 18 - Login to Web interface

After signing in, review the dashboard to confirm that the SMS gateway is online. Use the available menus to compose messages, inspect logs, and configure the service. The dashboard is the central browser-based management interface for the phone.

Web interface dashboard
Figure 19 - Web interface dashboard

Open the SMS sending page and enter the recipient phone number. Type the message text, then submit the form to send it through the Android SIM card. The Ozeki Client forwards the request to Android, which transmits the SMS over the mobile network.

Send SMS from web interface
Figure 20 - Send SMS from web interface

Open the sent-message log after submitting the SMS. Check the recipient, message content, timestamp, and delivery or submission status. This log helps verify that the browser request was processed by the Android gateway.

Sent SMS log
Figure 21 - Sent SMS log

Use a curl command from a PC or script to call the phone’s HTTP API. Include the gateway address, authentication details, recipient number, and message text. This approach is useful for automation, integrations, and application-based SMS sending.

Send SMS using Curl
Figure 22 - Send SMS using Curl

Check the sent-message log after submitting an SMS through the HTTP API. Confirm that the API request created an outgoing message with the expected recipient and content. Use the status entries to troubleshoot authentication, connectivity, or mobile-network issues.

HTTP API sent message log
Figure 23 - HTTP API sent message log