Public previews for local apps

Put your localhost on the internet in seconds.

LocalPreview turns any dev server into a polished public URL for teammates, clients, mobile devices, and webhook providers. No deploy, account, or dashboard required.

Start tunneling
localpreview terminal
$npx localpreview connect 3000

ok Connected to localhost:3000

ok Public URL ready: https://bright-sky.localpreview.dev

-> Forwarding HTTPS traffic to http://localhost:3000

-> Webhooks can target https://bright-sky.localpreview.dev/api/webhooks/stripe

12:08:39 info listening for requests...

12:08:44 GET / 200 18ms host=bright-sky.localpreview.dev

12:08:47 GET /pricing 200 24ms ua="Mobile Safari"

12:08:51 POST /api/webhooks/stripe 200 41ms stripe-signature=verified

Reviews

Share work before it ships

Send a stable URL to teammates or stakeholders while your app still runs on your machine.

Demos

Keep the feedback loop local

Demo prototypes without staging deploys, build queues, or one-off environment setup.

Use cases

One localhost tunnel for the moments a laptop is not enough.

LocalPreview gives your local app a public URL, so the rest of your workflow can reach it before you deploy.

Share localhost with teammates

Send a public URL for localhost when you need design feedback, QA notes, or a quick review without pushing to a preview environment.

Client previews from your machine

Open a polished link in a client call while you keep editing locally and avoid temporary deploys for every small copy or UI change.

Webhook testing on real callbacks

Point Stripe, GitHub, or another webhook provider at your local endpoint and watch the request hit your terminal.

Mobile testing beyond localhost

Check responsive layouts on phones and tablets with the same public URL instead of fighting local network setup.

Guides

Explore the LocalPreview workflow by intent.

Focused pages for common jobs: sharing a local app, choosing a tunnel, and testing webhook callbacks before deploy.

How it works

A public URL for localhost without a deploy.

Keep your app running locally, connect the port, and LocalPreview forwards incoming HTTPS traffic back to your development server.

  1. 01

    Run your local development server

    Start the app the way you already do, whether it is Next.js, Vite, Rails, Laravel, or another server on a local port.

  2. 02

    Create the localhost tunnel

    Run the LocalPreview command for that port and get a public URL you can paste into browsers, chat, or webhook settings.

  3. 03

    Inspect requests while you build

    Traffic reaches your local app and request activity stays visible, so previews, mobile checks, and callbacks stay close to your editor.

LocalPreview

Preview the thing you are actually running.

Use a tunnel when the code is still changing, the bug only exists locally, or a webhook provider needs a public callback URL right now.

Manual preview deploys

Useful later, slower for tight loops.

Deploys are great for persistent environments. For quick feedback, client previews, localhost webhook testing, and mobile checks, a public tunnel keeps the loop shorter.

FAQ

Questions developers ask before sharing localhost.

Short answers for common preview, webhook, and mobile testing workflows.

How do I share localhost with someone else?

LocalPreview creates a public URL that forwards traffic to the development server already running on your machine, such as http://localhost:3000.

Can I use LocalPreview for webhook testing?

Yes. Use the generated public URL as the callback endpoint for services like Stripe, GitHub, or any provider that needs to reach your local webhook route.

Can I test a local app on mobile devices?

Yes. Open the public URL from a phone, tablet, or another browser to test responsive layouts and device-specific behavior without joining the same network.

Quickstart

From local server to public URL.

Run your app, connect the port, then paste the generated preview link wherever feedback happens.

  1. 01Start your appnpm run dev
  2. 02Connect LocalPreviewnpx localpreview connect 3000
  3. 03Share the URLhttps://bright-sky.localpreview.dev

Ready when your dev server is

Spin up a tunnel and keep building locally.