# apk2url

> Shell script that decompiles Android APKs and extracts the URLs, domains and IP addresses inside them.

Source: https://osinttools.io/tools/apk2url/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

- **Inputs:** File
- **Category:** Documents and metadata
- **Pricing:** Open source (Free and open source (MIT).)
- **Footprint:** passive (does not contact the target)
- **Account required:** no
- **API:** no public API
- **Platforms:** Bash script (Linux)
- **Website:** https://github.com/n0mi1k/apk2url
- **GitHub:** n0mi1k/apk2url, 885 stars · Shell · MIT · last commit 2024-02-24 · dormant (no commit on the default branch in 18 months)
- **Listed:** Nov 23
- **Last verified by an editor:** Nov 23, 2026

## What it does

apk2url disassembles and decompiles an APK with apktool and jadx, then extracts URLs, URI paths, domains and IP addresses into text files. It can log which file in the app each endpoint came from.

Researchers use it to see which servers and APIs an Android app talks to, for example when studying an app's backend or a suspicious application. It accepts a single APK or a folder of them.

Footprint is passive: it reads its own index or third-party records and does not contact the target. No account is needed. There is no public API.

## Features

- URL and path extraction
- Domain and IP extraction
- Source file logging
- Multiple APKs per run

## Pros

- Works offline on the APK file
- Simple output files
- Easy install script

## Cons

- It has had no code changes since February 2024 and may no longer work
- Needs apktool and jadx, and was tested only on Kali and Ubuntu
- Extracted endpoints may be unused or obfuscated, so results need review

## When to use it

- Use it when you need the backend endpoints of an Android app.
- Use it when examining a suspicious APK for infrastructure to pivot on.

## Quick start

Terminal · Linux:

```
sudo apt install apktool jadx
git clone https://github.com/n0mi1k/apk2url
cd apk2url
./apk2url.sh /path/to/apk/file.apk
```

## Alternatives

- [MediaInfo](https://osinttools.io/tools/mediainfo/): Open-source tool from MediaArea that shows technical and tag metadata for video, audio and image files. (Open source · File · passive · 2,076 GitHub stars)
- [ExifTool](https://osinttools.io/tools/exiftool/): Command-line tool and Perl library for reading, writing and editing metadata in images, video, audio and documents. (Open source · File, Image · passive · 5,306 GitHub stars)
- [Aleph](https://osinttools.io/tools/aleph/): Self-hosted platform from OCCRP for indexing and searching large document and data collections and cross-referencing entities. (Open source · File, Name · passive · 2,515 GitHub stars)
- [MalwareBazaar](https://osinttools.io/tools/malwarebazaar/): abuse.ch repository of malware samples searchable by hash, family, tag or signature, with free downloads for research. (Free · File · passive)
- [ANY.RUN](https://osinttools.io/tools/any-run/): Interactive malware sandbox where you watch and control a sample's execution in a live virtual machine. (Freemium · File, URL · depends)
- [Hybrid Analysis](https://osinttools.io/tools/hybrid-analysis/): Free malware sandbox from CrowdStrike that detonates files and URLs and publishes behaviour reports. (Free · File, URL · depends)

All alternatives to apk2url in one table: https://osinttools.io/tools/apk2url/alternatives/

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
