The miner who includes transactions into his block gets all the fees of those transactions.
If you are mining in a mining pool it completely depends on how the policy of the mining pool is regarding payout from TX fees.
AntPool for example does keep the TX and only paying out the block reward (currently 12.5 btc), contrary to BTC.com paying out everything.
You can find a detailed list of mining pools and their policies here:
https://en.bitcoin.it/wiki/Comparison_of_mining_pools