PHPackages                             bogdanghervan/revolut-statement - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. bogdanghervan/revolut-statement

ActiveProject[CLI &amp; Console](/categories/cli)

bogdanghervan/revolut-statement
===============================

Convert Revolut Trading statements from PDF to CSV or Excel.

1.1.0(5y ago)43610MITPHPPHP ^7.3|^8.0

Since Apr 29Pushed 4y ago6 watchersCompare

[ Source](https://github.com/bogdanghervan/revolut-statement)[ Packagist](https://packagist.org/packages/bogdanghervan/revolut-statement)[ RSS](/packages/bogdanghervan-revolut-statement/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (6)Versions (2)Used By (0)

Revolut Statement
=================

[](#revolut-statement)

A command-line tool to convert Revolut Trading statements in the PDF format to CSV or Excel.

Hopefully, Revolut will soon develop this as a feature of their own at which time this package will become obsolete.

**Update June 2021**: Excel-based statements are now available in the Revolut app directly.

Data
----

[](#data)

The Activity section of your statement is exported. These are the columns that are included:

- Trade Date
- Settle Date
- Currency
- Activity Type
- Symbol / Description
- Symbol
- Description
- Quantity
- Price
- Amount

Supported Formats
-----------------

[](#supported-formats)

FormatDetails`csv`Comma-separated values file *(default)*`xlsx`Excel 2007 onwards`ods`OpenOffice spreadsheet`xls`Legacy Excel formatInstallation
------------

[](#installation)

### Requirements

[](#requirements)

PHP ≥ 7.3

### Installation

[](#installation-1)

Run this one-liner from your shell:

```
php -r "copy('https://github.com/bogdanghervan/revolut-statement/raw/main/builds/revolut-statement', '/usr/local/bin/revolut-statement');" && chmod u+x /usr/local/bin/revolut-statement
```

This will download the latest build from GitHub to a folder that's likely to be in your system path.

You're ready to use Revolut Statement!

Usage
-----

[](#usage)

**Convert a single statement to CSV**

To convert a Revolut stock trade PDF statement to CSV:

```
revolut-statement convert statement-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.pdf > my-statement.csv

```

In the example above `statement-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.pdf` is a likely name of the PDF statement downloaded from the Revolut app. The command would read the file and convert it to a CSV file named `my-statement.csv`.

**Convert multiple statements to CSV**

You can convert more PDF statements at the same time by specifying a list of files separated by space in the command line:

```
revolut-statement convert statement-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.pdf statement-vvvvvvvv-wwww-xxxx-yyyy-zzzzzzzzzzzz.pdf > all-statements.csv

```

In the example above, the two PDF statements would be stitched together in one single CSV file called `all-statements.csv`. Now you can use this file to run analyses on your successful trades or prepare your tax reports.

**Convert a statement to Excel**

To convert a Revolut stock trade PDF statement to Excel:

```
revolut-statement convert statement-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.pdf -f xlsx -o my-statement.xlsx

```

**Convert multiple files matching a pattern**

A common use case is wanting to stitch together several PDF stock trade statements downloaded from Revolut in the same directory that have a file name resembling `statement-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee.pdf`. Here's how to do that simply:

```
revolut-statement convert statement-*.pdf -f xlsx -o all-statements.xlsx -v

```

Pro tip: Pass in the `-v` option to see additional details while files are parsed.

**See all available options**

```
revolut-statement convert --help

```

**Install updates**

You can download the latest version of this app:

```
revolut-statement self-update

```

Support
-------

[](#support)

Has this just saved you the trouble of having to manually compile all this information? Consider leaving me a note and buying me a coffee by clicking the button below.

[![ko-fi](https://camo.githubusercontent.com/1fedf764fa06114b797ee53e7506df10880abed6766f854202d758df1707969d/68747470733a2f2f7777772e6b6f2d66692e636f6d2f696d672f676974687562627574746f6e5f736d2e737667)](https://ko-fi.com/B0B325116)

Have you found a problem? [Submit an issue](https://github.com/bogdanghervan/revolut-statement/issues)

Legal
-----

[](#legal)

Revolut Statement is an open-source software licensed under the [MIT license](https://github.com/bogdanghervan/revolut-statement/blob/master/LICENSE).

The data is processed by Revolut Statement locally without ever leaving your computer. Generally speaking, PDFs can be glitchy or errors in the software can cause the output to be inaccurate. Use it at your own risk!

This program is not affiliated or endorsed in any way by Revolut which is a trademark of Revolut Ltd.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1836d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5514df2dfca8d21491d9007e938e1ee019811f3f7ecd94c2069a2094ed4c048e?d=identicon)[bogdanghervan](/maintainers/bogdanghervan)

---

Top Contributors

[![bogdanghervan](https://avatars.githubusercontent.com/u/585130?v=4)](https://github.com/bogdanghervan "bogdanghervan (36 commits)")

---

Tags

cliconvertertradingrevolutstatement

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bogdanghervan-revolut-statement/health.svg)

```
[![Health](https://phpackages.com/badges/bogdanghervan-revolut-statement/health.svg)](https://phpackages.com/packages/bogdanghervan-revolut-statement)
```

###  Alternatives

[acmephp/acmephp

Let's Encrypt client written in PHP

649155.1k](/packages/acmephp-acmephp)[mehrancodes/laravel-harbor

A CLI tool to Quickly create On-Demand preview environment for your apps.

9989.0k](/packages/mehrancodes-laravel-harbor)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
